Returns a textual representation of the Future.
This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.
Returns a textual representation of the Future.
toString() {
const listeners = this._listeners.length;
const state = this._state;
return `folktale:Future(${state}, ${listeners} listeners)`;
}