We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
()
The Task interface is defined as:
Task
DefinitelyTyped/types/semaphore/index.d.ts
Lines 3 to 14 in dfd0ded
while take() function could be invoked with a unary function like:
take()
var sem = require('semaphore')() sem.take(function(leave) { console.log('about to leave') leave() })
reference: abrkn/semaphore.js#2 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
Task
interface is defined as:DefinitelyTyped/types/semaphore/index.d.ts
Lines 3 to 14 in dfd0ded
while
take()
function could be invoked with a unary function like:reference: abrkn/semaphore.js#2 (comment)
The text was updated successfully, but these errors were encountered: