MoroJSoro JS
DocsBenchmarksPlaygroundMigrate
GitHubGet started

Technical

API Reference & Architecture

DocsCLITechnical

Docs for @morojs/moro v1.8.0

Technical
API
Functions
WithTimeout

@morojs/moro


@morojs/moro / withTimeout

Function: withTimeout()

withTimeout<T>(timeoutMs?): (factory) => ServiceFactory<T>

Defined in: src/core/utilities/container.ts:140

Type Parameters

T

T

Parameters

timeoutMs?

number = 5000

Returns

(factory) => ServiceFactory<T>

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