Skip to content

@statesync/electron


@statesync/electron / ElectronInvalidationSubscriberOptions

Interface: ElectronInvalidationSubscriberOptions

Defined in: transport.ts:25

Configuration options for createElectronInvalidationSubscriber.

Properties

channel

ts
channel: string;

Defined in: transport.ts:37

The IPC channel name to subscribe to for invalidation events.

Typically produced by invalidationChannel (e.g. "statesync:todos:invalidated").


listen

ts
listen: ElectronListen;

Defined in: transport.ts:30

The listen function from the bridge (bridge.on) or any ElectronListen-compatible function.

Released under the MIT License.