Interface: DisposeOptions
Defined in: electron/events/ScopedSubscriptionManager.ts:11
Configuration for scoped subscription disposal behaviour.
Properties
onError?
readonly optional onError?: (error: unknown) => void;
Defined in: electron/events/ScopedSubscriptionManager.ts:15
Optional callback executed when an individual disposer throws.
Parameters
error
unknown
Returns
void
suppressErrors?
readonly optional suppressErrors?: boolean;
Defined in: electron/events/ScopedSubscriptionManager.ts:20
When enabled, suppresses aggregate error throwing after cleanup.