Socket
Book a DemoInstallSign in
Socket

@moxb/fiber-wrappers

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moxb/fiber-wrappers

Wrap async functions with sync functions using (fiber) Futures

0.4.6
latest
Source
npmnpm
Version published
Maintainers
4
Created
Source

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.

Keywords

fibers

FAQs

Package last updated on 01 Dec 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.