JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4927
  • Score
    100M100P100Q132051F
  • License MIT

Asyncjs Utilities

Package Exports

  • asyncjs-util
  • asyncjs-util/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (asyncjs-util) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Asyncjs Utilities

Utility methods for working with asyncjs

npm version Coverage Status Build Status

getMaximum

Get maximum value through binary search

{
  [accuracy]: <Close Enough Delta Number>
  from: <Minimum Number>
  to: <Maximum Number>
}

<Async Test Function> ({cursor}, (err, isLow) => {}) => {}

@returns via cbk or Promise
{
  maximum: <Maximum Number>
}

returnResult

Return a specific result of an async/auto process

Omit a cbk and specify reject/resolve if using a Promise

{
  [of]: <Property String>
  [reject]: <Promise Reject Function>
  [resolve]: <Promise Resolve Function>
}
[cbk]: <Callback Function>

@returns
<Function> (err, res) => {}