GitShow/sindresorhus/make-synchronous
sindresorhus

make-synchronous

Make an asynchronous function synchronous

by sindresorhus
Star on GitHubForknpm

JavaScript

332 stars9 forks4 contributorsQuiet · 6mo agoSince 2020v2.1.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus13 contributions
fisker
fisker2 contributions
mesqueeb
mesqueeb1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript94.6%
TypeScript5.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
brucemcpherson
providing custom env to spawnsyncClosedIssue

When running in debug mode, the spawned subprocess also runs in debug mode - so each time, it fires up a new debug session which take forever to instanciate. Warning like this appear on the debug console. Is there a way to pass over a 'custom env Node options' as an argument to makeSyncronous? thank you

brucemcpherson · 6mo ago
DinoscapeProgramming
fix: make .unref() optional for Deno compatibilityMergedPR

Description of Change Fixes an issue where running the worker code in Deno caused a runtime error: . This was due to Node.js-specific calls on and objects. Using optional chaining () ensures that the code runs in Deno without affecting Node.js behavior. Checklist [x] passes Release Notes** Notes: Fixed a runtime error in Deno caused by calls. This makes workers compatible across Node.js and Deno.

DinoscapeProgramming · 11mo ago
fisker
Fix error when runing multiple times in workerMergedPR

The message port can only transfer once.

fisker · 1y ago
Structured data for AI agents

Repository: sindresorhus/make-synchronous. Description: Make an asynchronous function synchronous Stars: 332, Forks: 9. Primary language: JavaScript. Languages: JavaScript (94.6%), TypeScript (5.4%). License: MIT. Latest release: v2.1.0 (6mo ago). Open PRs: 0, open issues: 0. Last activity: 6mo ago. Community health: 71%. Top contributors: sindresorhus, fisker, mesqueeb, Richienb.

·@ofershap

Replace github.com with gitshow.dev