Skip to content

Options

Defined in: Plugin.ts:135

Options shared by make, layer and service.

Type Parameter
Inject extends ReadonlyArray<Dependency>
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.


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.