@moxb/fiber-wrappers
TypeScript icon, indicating that this package has built-in type declarations

0.4.6 • Public • Published

Synchronous wrappers around Promises, using fiber Futures

You can use this library to wrap your Promise-returning functions with (seemingly) fully synchronous functions, which can then be called without any extra precaution, without using async/await.

The magic is powered by fibers.

Before using it for new project, please consider the node of obsolesce at fiber's side.

Readme

Keywords

Package Sidebar

Install

npm i @moxb/fiber-wrappers

Weekly Downloads

0

Version

0.4.6

License

MIT

Unpacked Size

12.4 kB

Total Files

5

Last publish

Collaborators

  • scharf
  • herndl
  • csillag
  • gerujv