MoroJSoro JS
DocsBenchmarksPlaygroundMigrate
GitHubGet started

Technical

API Reference & Architecture

DocsCLITechnical

Docs for @morojs/moro v1.8.0

Technical
API
Type Aliases
EventHandler

@morojs/moro


@morojs/moro / EventHandler

Type Alias: EventHandler()<T>

EventHandler<T> = (payload) => void | Promise<void>

Defined in: src/types/events.ts:81

Type Parameters

T

T = any

Parameters

payload

EventPayload<T>

Returns

void | Promise<void>

Back to EventHandlerView 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.