How to use the fluture.try function in fluture

To help you get started, we’ve selected a few fluture examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jongold / unblockerer / index.js View on Github external
const makeClient = env => Future.try(() => new Twit(env));
github fluture-js / momi / examples / bootstrap / bootstrappers.js View on Github external
  yield putService('config', prop => Future.try(_ => config.get(prop)));
  return yield next;