Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActionChannelBuffer<Action>

Type parameters

Hierarchy

  • ActionChannelBuffer

Implements

Index

Properties

Protected actions

actions: Action[] = []

Protected observers

observers: Array<PromiseResolver<Action>> = []

Methods

Protected notifyObservers

  • notifyObservers(): void

put

  • put(action: Action): void

take

  • take(): Promise<Action>

Generated using TypeDoc