gunshi / default / PluginFunction
Type Alias: PluginFunction()<G>
ts
type PluginFunction<G> = (ctx) => Awaitable<void>;
Plugin function type
Type Parameters
Type Parameter | Default type |
---|---|
G extends GunshiParams | DefaultGunshiParams |
Parameters
Parameter | Type |
---|---|
ctx | Readonly <PluginContext <G >> |
Returns
Awaitable
<void
>
Since
v0.27.0