Options
此内容尚不支持你的语言。
Defined in: Plugin.ts:135
Options shared by make, layer and service.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Inject extends ReadonlyArray<Dependency> |
Properties
Section titled “Properties”inject?
Section titled “inject?”readonly inject?: Inject;Defined in: Plugin.ts:142
readonly name: string;Defined in: Plugin.ts:141
Labels the plugin in logs, spans and the fork tree. Build it like an Effect
service key: the package, the module path, then the binding unless it is the
module’s default export, such as @acme/graft-plugin-db/migrations.
retry?
Section titled “retry?”readonly retry?: Schedule<unknown, unknown, never, never>;Defined in: Plugin.ts:144
Restarts a failed plugin on this schedule; without it, a failed plugin waits for a change.