Discord Player

Operation

Declaration merged operation contract.

You are reading the v8 docsDev
InterfaceTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/plugins/types.ts:41
interface Operation<Input, Output, Policy extends DispatchPolicy>

Declaration merged operation contract.

Properties

input

input: Input

Handler input.

output

output: Output

Handled result; undefined always declines.

policy

policy: Policy

Dispatch policy selected by the definition.

On this page