Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@agoric/eventual-send

Package Overview
Dependencies
Maintainers
4
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/eventual-send

Create a class which implements the eventual-send Promise API

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
260
decreased by-7.14%
Maintainers
4
Weekly downloads
 
Created
Source

MakeEPromiseClass

Build Status dependency status dev dependency status License

Promises/A+ 1.1 compliant Promises/A+ 1.1 compliant

Create a class which implements the eventual-send Promise API. This API is used by the ECMAScript infix-bang 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 (infix bang) provided in SES or other platforms.

The created EPromise class can be used as described in test/test.js.

Creating a custom EPromise Class

This package (@agoric/eventual-send) provides a makeEPromiseClass() which can be used to build your own EPromise class. When you call makeEPromiseClass(), you give it an underlying Promise class that is inherited and augmented with eventual-send methods.

You can create an EPromise class from any existing Promises/A+ implementation, including the ECMAScript 6 and later Promise implementation.

Keywords

FAQs

Package last updated on 25 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc