/** * The subscriber function type definition. * @template T The type of the notification value. */ export type Subscriber = (value: T) => void; /** * The subscription options. */ export interface SubscribeOptions { /** πŸ”„ Indicates whether the callback should only be invoked once. */ once?: boolean; /** πŸ”’ The priority of the subscriber, with higher numbers meaning higher priority. */ priority?: number; /** ⏸️ If true, the subscriber is initially disabled. */ disabled?: boolean; /** πŸ“€ If true, the subscriber receives the previous value immediately if available. */ receivePrevious?: boolean; } //# sourceMappingURL=type.d.ts.map