Interface IConsumable<T>

Type Parameters

  • T = any

Hierarchy

  • IConsumable

Implemented by

Properties

changed: ((callback) => IConsumable<T>)

Type declaration

    • (callback): IConsumable<T>
    • Parameters

      • callback: ((newValue) => void)
          • (newValue): void
          • Parameters

            • newValue: T

            Returns void

      Returns IConsumable<T>

destroy: (() => void)

Type declaration

    • (): void
    • Returns void

dispatch: ((newValue) => IConsumable<T>)

Type declaration

intersect: (<K>(intersector) => IConsumable<K>)

Type declaration

    • <K>(intersector): IConsumable<K>
    • Type Parameters

      • K

      Parameters

      • intersector: ((val) => K)
          • (val): K
          • Parameters

            • val: T

            Returns K

      Returns IConsumable<K>

prev?: T
remove: ((callback) => IConsumable<T>)

Type declaration

    • (callback): IConsumable<T>
    • Parameters

      • callback: ((newValue) => void)
          • (newValue): void
          • Parameters

            • newValue: T

            Returns void

      Returns IConsumable<T>

value: T

Generated using TypeDoc