Package

sri.relay

external

Permalink

package external

Visibility
  1. Public
  2. All

Type Members

  1. trait Deferred[Tvalue, Treason] extends Object

    Permalink

    Deferred provides a Promise-like API that exposes methods to resolve and reject the Promise.

    Deferred provides a Promise-like API that exposes methods to resolve and reject the Promise. It is most useful when converting non-Promise code to use Promises.

    If you want to export the Promise without exposing access to the resolve and reject methods, you should export getPromise which returns a Promise with the same semantics excluding those methods.

    Annotations
    @RawJSType() @native()

Ungrouped