exporter
function exporter<E, R>(options: { config: unknown nextConfig?: unknown plugin: Omit< Definition<any, any, any>, "~@graftland/graft/Plugin/Contract" > & { "~@graftland/graft/Plugin/Contract": unknown } received: Effect<readonly string[], E, R>}): Effect< undefined, SchemaError | CleanupError | ConformanceError | E, Graft | R>Defined in: Testing.ts:20
Checks publication, stable identity on update, and flushing completed spans on close. Supply a fresh Graft layer and a collector whose received effect returns flushed span names.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
E |
R |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
{ config: unknown; nextConfig?: unknown; plugin: Omit<Definition<any, any, any>, "~@graftland/graft/Plugin/Contract"> & { "~@graftland/graft/Plugin/Contract": unknown; }; received: Effect<readonly string[], E, R>; } |
options.config |
unknown |
options.nextConfig? |
unknown |
options.plugin |
Omit<Definition<any, any, any>, "~@graftland/graft/Plugin/Contract"> & { "~@graftland/graft/Plugin/Contract": unknown; } |
options.received |
Effect<readonly string[], E, R> |
Returns
Section titled “Returns”Effect<undefined, | SchemaError | CleanupError |
ConformanceError
| E, Graft | R>