Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SelectableP<T>

Interface for the Selectable PClass. A selectableP could be: a plain Object, a Map, a Set and an Array as well of channels. Differently from the normal selectable, the channel is always wrapped into a Promise.

Type parameters

  • T

Hierarchy

  • SelectableP

Implemented by

Index

Properties

Methods

Properties

sel

sel: object | Map<any, Promise<Channel<T>>> | Set<Promise<Channel<T>>> | Promise<Channel<T>>[]

A reference to the selectableP object

Methods

revertToArray

  • revertToArray(): Promise<Channel<T>>[]
  • Whatever the selectable is, this method convert it into an array of Promise. Warning: Map and Object keys will be lost.

    Returns Promise<Channel<T>>[]

Generated using TypeDoc