RevertibleFactory TypeAlias
Factory for creating a Revertible.
Sealed
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
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.