Skip to main content

RevertibleFactory TypeAlias

Factory for creating a Revertible.

Signature

/** @sealed */
export type RevertibleFactory = (onRevertibleDisposed?: (revertible: Revertible) => void) => Revertible;

Error Handling

error if invoked outside the scope of the changed event that provides it, or if invoked multiple times.