# @agoric/eventual-send

> Extend a Promise class to implement the eventual-send API

Latest version **0.14.1** (published 2022-02-24) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @agoric/eventual-send
pnpm add @agoric/eventual-send
yarn add @agoric/eventual-send
bun add @agoric/eventual-send
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.14.1 |
| Published | 2022-02-24 |
| First published | 2019-06-25 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 123.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 359 |
| Author | Agoric |
| Maintainers | agoricbot, warner, erights, michaelfig, kriskowal |
| Keywords | eventual send, wavy dot |

## Links

- npm: https://www.npmjs.com/package/@agoric/eventual-send
- Repository: https://github.com/Agoric/agoric-sdk
- Homepage: https://github.com/Agoric/agoric-sdk#readme
- Issues: https://github.com/Agoric/agoric-sdk/issues
- npm.io page: https://npm.io/package/@agoric/eventual-send

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 0.14.1 (latest) — 2022-02-24
- 0.14.2-dev-290b19c.0 (dev) — 2022-03-15
- 0.14.2-dev-e119dee.0 — 2022-03-15
- 0.14.2-dev-9a70686.0 — 2022-03-14
- 0.14.2-dev-2171b5a.0 — 2022-03-14
- 0.14.2-dev-740f9b6.0 — 2022-03-14
- 0.14.2-dev-4e0aece.0 — 2022-03-12
- 0.14.2-dev-8195349.0 — 2022-03-12
- 0.14.2-dev-4c4da6a.0 — 2022-03-12
- 0.14.2-dev-d03e548.0 — 2022-03-11
- 0.14.2-dev-aebb9bf.0 — 2022-03-11
- 0.14.2-dev-e9e3de0.0 — 2022-03-11
- 0.14.2-dev-7d254f0.0 — 2022-03-11
- 0.14.2-dev-e500965.0 — 2022-03-11
- 0.14.2-dev-1f1a9ca.0 — 2022-03-10
- … 307 more at https://npm.io/package/@agoric/eventual-send/versions

## README

# HandledPromise

[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]

Create a HandledPromise class to implement the eventual-send API.  This API is used by the [ECMAScript eventual-send proposal](https://github.com/tc39/proposal-eventual-send).

## 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](https://github.com/Agoric/SES) or other platforms.

To install the `HandledPromise` global property shim, do:

```js
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:

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

[deps-svg]: https://david-dm.org/Agoric/eventual-send.svg
[deps-url]: https://david-dm.org/Agoric/eventual-send
[dev-deps-svg]: https://david-dm.org/Agoric/eventual-send/dev-status.svg
[dev-deps-url]: https://david-dm.org/Agoric/eventual-send?type=dev
[license-image]: https://img.shields.io/badge/License-Apache%202.0-blue.svg
[license-url]: LICENSE

---
_Source: https://npm.io/package/@agoric/eventual-send · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
