How to use the scramjet.DataStream.filter function in scramjet

To help you get started, we’ve selected a few scramjet 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 openaq / openaq-fetch / lib / errors.js View on Github external
return stream.catch(async (error) => {
    if (strict) {
      try { await parent.raise(error); } finally {}
    } else {
      log.verbose(`Ignoring error in "${sourceObject.name}": ${error.message}`);
      failures[error.message] = (failures[error.message] || 0) + 1;
    }

    return DataStream.filter;
  });
}

scramjet

Lightweight and real-time data functional stream programming framework like event-stream, written in ES6 using async await with multi-threading and typescript support

MIT
Latest version published 8 months ago

Package Health Score

62 / 100
Full package analysis