Options
All
  • Public
  • Public/Protected
  • All
Menu

@stephen-shopopop/standard

Index

Type Aliases

Function<T, O>: ((value: T) => O)

Type Parameters

  • T

  • O

Type declaration

    • (value: T): O
    • Function returns the same or a different type on output as on input

      Parameters

      • value: T

      Returns O

Handle<T>: ((value: T) => T | Promise<T>)

Type Parameters

  • T

Type declaration

    • (value: T): T | Promise<T>
    • Handle returns the same type on output as on input

      Parameters

      • value: T

      Returns T | Promise<T>

Predicate<T>: ((value: T) => Boolean)

Type Parameters

  • T

Type declaration

    • (value: T): Boolean
    • Predicate return a Boolean

      Parameters

      • value: T

      Returns Boolean

Variables

channel: Make = ...

Channel

Functions

  • make(maxSubscribers?: number): Make
  • mem(callback: Function): Mem

Generated using TypeDoc