İçeriğe geç
sern

controller

const controller: object

Since

1.0.0 The object passed into every plugin to control a command’s behavior

Type declaration

next()

next: () => OkImpl<void> = ok

Returns

OkImpl<void>

stop()

stop: () => ErrImpl<void> = err

Returns

ErrImpl<void>

Source

src/core/create-plugins.ts:69