MoroJSoro JS
DocsBenchmarksPlaygroundMigrate
GitHubGet started

Technical

API Reference & Architecture

DocsCLITechnical

Docs for @morojs/moro v1.8.0

Technical
API
Functions
CreateWorkerHandler

@morojs/moro


@morojs/moro / createWorkerHandler

Function: createWorkerHandler()

createWorkerHandler(handler): (request, env, ctx) => Promise<Response>

Defined in: src/core/runtime/index.ts:59

Parameters

handler

(req, res) => Promise<void>

Returns

(request, env, ctx): Promise<Response>

Parameters

request

Request

env

WorkersEnv

ctx

WorkersContext

Returns

Promise<Response>

Back to createWorkerHandlerView Source
MoroJSoro JS

A TypeScript backend framework with its own native engine. Zero dependencies, four runtimes.

Product

DocsBenchmarksPlaygroundCLIBlog

Compare

vs ExpressMigration guidesRoadmap

Community

GitHubDiscordXExamples

Legal

PrivacyTermsAbout
© CM Ventures, Inc. Built withfor the TypeScript community.