Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Variables

isWorkerRuntime

Returns true if this code is currently running in a worker.

§Functions

expose

Expose a function or a module (an object whose values are functions) to the main thread. Must be called exactly once in every worker thread to signal its API to the main thread.

registerSerializer
Transfer

Mark a transferable object as such, so it will no be serialized and deserialized on messaging with the main thread, but to transfer ownership of it to the receiving thread.