CoreFunctions
createHandle
createHandle<
Env
>(factory
):Handle
<Env
>
Creates a handle function that can be used to handle requests
Type Parameters
Type Parameter | Default type |
---|---|
Env extends PartialEnv | PartialEnv |
Parameters
Parameter | Type | Description |
---|---|---|
factory | (env ) => [Client , ...Plugin[] ] | The factory function that creates the plugins |
Returns
Handle
<Env
>
The handle function