init
talawa-api • Docs
talawa-api / libraries/requestContext / init
Function: init()
> init<T
>(options
): T
Initializes the request context and i18n.
Type Parameters
• T
Parameters
• options: InterfaceInitOptions
<T
> = \{\}
The initialization options.
Returns
T
The result of the request handler or an empty object if not provided.