Options
Defined in: Plugin.ts:208
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:215
readonly name: string;Defined in: Plugin.ts:214
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.
overlap?
Section titled “overlap?”readonly overlap?: boolean;Defined in: Plugin.ts:219
Whether serving is safe alongside another attempt. Defaults to false.
provides?
Section titled “provides?”readonly provides?: readonly Provided[];Defined in: Plugin.ts:217
Describes the local services and contract operations this implementation provides.
retry?
Section titled “retry?”readonly retry?: Schedule<unknown, unknown, never, never>;Defined in: Plugin.ts:221
Restarts a failed plugin on this schedule; without it, a failed plugin waits for a change.