Update
本頁內容尚未翻譯。
type Update<Config, E = never, R = never> = ( next: Config,) => Effect.Effect<boolean, never, Graft | Scope.Scope | R | Tasks<E>>Defined in: Plugin.ts:56
Returned from apply to accept configuration changes in place. Resolving to
false restarts the plugin with the new configuration instead.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Config |
- |
E |
never |
R |
never |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
next |
Config |
Returns
Section titled “Returns”Effect.Effect<boolean, never, |
Graft | Scope.Scope | R |
Tasks<E>>