diff --git a/worker/src/context.rs b/worker/src/context.rs index dcfc17ce..0b4a5773 100644 --- a/worker/src/context.rs +++ b/worker/src/context.rs @@ -43,3 +43,9 @@ impl Context { self.inner.pass_through_on_exception() } } + +impl AsRef for Context { + fn as_ref(&self) -> &JsContext { + &self.inner + } +}