Saltearse al contenido
sern

init

init(maybeWrapper): void

Parameters

maybeWrapper: Wrapper= undefined

Options to pass into sern. Function to start the handler up

Returns

void

Since

1.0.0

Example

src/index.ts
1
Sern.init({
2
commands: 'dist/commands',
3
events: 'dist/events',
4
})

Source

src/sern.ts:35