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