NotifyAdapterConformanceContext

Type

Signature

type NotifyAdapterConformanceContext = {
  createNotifyAdapter: () => MaybePromise<NotifyAdapter<Mode>>;
};

core/src/conformance.notify-adapter/types.ts:10

The context the notify adapter conformance cases run against, for an adapter of either mode. Create it once, before the cases. Each case creates the adapters it needs from it, and they are closed when the case ends.

Properties

createNotifyAdapter

Signature

createNotifyAdapter: () => MaybePromise<NotifyAdapter<Mode>>;

core/src/conformance.notify-adapter/types.ts:15

Creates a notify adapter. The adapters a case creates are closed when it ends, so closing one must not release resources the next one needs.

Returns

MaybePromise<NotifyAdapter<Mode>>

Used in guides

esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open