Constructors

Properties

Methods

Constructors

Properties

_cleanups: { fn: () => void; name: string }[] = []
debug: boolean

Methods

  • Wrap a side-effecting operation for easier debugging and teardown/release of resources

    Parameters

    • name: string
    • fn: () => () => void

    Returns void