@agoric/eventual-send
TypeScript icon, indicating that this package has built-in type declarations

0.14.1 • Public • Published

HandledPromise

dependency status dev dependency status License

Create a HandledPromise class to implement the eventual-send API. This API is used by the ECMAScript eventual-send proposal.

How to use

Note: If you're writing an application, you probably don't want to use this package directly. You'll want to use the eventual-send ~. operator (tildot) provided in SES or other platforms.

To install the HandledPromise global property shim, do:

import '@agoric/eventual-send/shim';

After that, you can use HandledPromise in any of your code. If you need access to the E proxy maker, do:

import { E } from '@agoric/eventual-send';

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @agoric/eventual-send

Weekly Downloads

1,483

Version

0.14.1

License

Apache-2.0

Unpacked Size

126 kB

Total Files

15

Last publish

Collaborators

  • gibson042
  • mhofman
  • samsiegart
  • jimlarson
  • agoricbot
  • warner
  • erights
  • michaelfig
  • kriskowal