makeDependencies
makeDependencies(
conf
):Promise
<void
>
makeDependencies constructs a dependency injection container for sern handler to use. This is required to start the handler, and is to be called before Sern.init.
Parameters
• conf: ValidDependencyConfig
Returns
Promise
<void
>
Example
1await makeDependencies(({ add }) => {2 add('@sern/client', new Client({ intents, partials })3})