Class Playable

Implements Libp2p's Startable interface for easy reuse with async code.

Hierarchy (view full)

Implements

Constructors

Properties

_isStarted: boolean
_starting: null | Promise<void>
_stopping: null | Promise<void>
lifecycle: {
    starting(): Promise<void>;
    stopping(): Promise<void>;
}

Type declaration

Methods

  • Returns boolean

Generated using TypeDoc