toString

Returns a textual description of the object.

Signature

toString()
(Deferred 'f 's).() => String

Documentation

Returns a textual description of the object.

Properties

Source Code

Defined in source/concurrency/future/_deferred.js at line 58, column 21
toString() {
    const listeners = this._listeners.length;
    const state     = this._state;

    return `folktale:Deferred(${state}, ${listeners} listeners)`;
  }
Licence
MIT
Module
folktale/concurrency/future/_deferred
On This Page
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)