MoroJSoro JS
FeaturesDocsCLIBenchmarksExamplesGitHub
Features
Docs
CLI
Benchmarks
Examples
GitHub

© 2024 MoroJs

Technical

API Reference & Architecture

DocsCLITechnical
Technical DocsComplete API Index
OverviewNamespaces
OverviewAppDocumentationManagerContainerIntelligentRoutingManager
OverviewauthbodyvalidateRequest
OverviewHttpRequestHttpResponseMiddlewareContext
OverviewHandlerMiddleware
OverviewsimpleMiddleware
OverviewServiceLifecycle
GitHub RepositoryExamples RepoBenchmarksAPI Reference (GitHub)

Version: 1.0.0

Last updated: 9/12/2025

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
MoroJS

The TypeScript-first toolkit for building ultra-fast APIs with zero-friction developer experience.

Product

  • Documentation
  • Examples
  • Playground
  • Roadmap

Community

  • GitHub
  • Discord
  • Twitter

Resources

  • Getting Started
  • API Reference
  • Migration Guide
  • Best Practices

Company

  • About
  • Careers
  • Privacy
  • Terms
© CM Ventures, Inc. Built withfor the TypeScript community.
Privacy PolicyTerms of Service
All systems operational