- Create actions similar to Flummox.
- Generate action ids.
- Supports actions with decorators, promises, and therefore ES7 async.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const waitForOpenConnection = (socket) => { | |
return new Promise((resolve, reject) => { | |
const maxNumberOfAttempts = 10 | |
const intervalTime = 200 //ms | |
let currentAttempt = 0 | |
const interval = setInterval(() => { | |
if (currentAttempt > maxNumberOfAttempts - 1) { | |
clearInterval(interval) | |
reject(new Error('Maximum number of attempts exceeded')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Creates a RegExp from the given string, converting asterisks to .* expressions, | |
* and escaping all other characters. | |
*/ | |
function wildcardToRegExp (s) { | |
return new RegExp('^' + s.split(/\*+/).map(regExpEscape).join('.*') + '$'); | |
} | |
/** | |
* RegExp-escapes all characters in the given string. |
Name | Price | Integrations | Limits | Language |
---|---|---|---|---|
bugsnag.com | $29 per month | slack, jira | 5 devs | javascript, php |
speedcurve.com | $0.01 per check | slack, jira | - | javascript |
honeybadger.io | $44 per month | slack, jira | 5 projects | javascript |
atatus.com | $29 per month | slack, jira | 200000 view/month | javascript |
muscula.com | $14 per month | - | 1 000 000 errors/month | javascript |
exceptional.io | - | - |