You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

async-event-target

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-event-target

Async EventTarget is a experimental library exploring making event handling asynchronous.

1.0.0
latest
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Async EventTarget

Async EventTarget is a experimental library exploring making event handling asynchronous.

It attaches an alsoAwait method to events being fired, which event handlers can use to submit promises.

Once all promises so submitted during event handling resolve, a promise for the dispatching event is fired.

Why?

Originally it was looking at Webpack's synchronous event-based build pipeline that got me thinking about this.

I wanted a more general way to build compiler or build pipelines, which are frequently a bunch of named events, and this came out as it's own piece of that puzzle.

FAQs

Package last updated on 11 Oct 2017

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