Package Exports
- @endo/eventual-send
- @endo/eventual-send/shim.js
- @endo/eventual-send/src/no-shim.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@endo/eventual-send) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
HandledPromise
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';