Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Feature: fire a per-script callback if a "test" fails #58

Closed
getify opened this issue Dec 18, 2011 · 1 comment
Closed

Feature: fire a per-script callback if a "test" fails #58

getify opened this issue Dec 18, 2011 · 1 comment
Assignees
Milestone

Comments

@getify
Copy link
Owner

getify commented Dec 18, 2011

Again, very tricky to do cleanly, but let's investigate if you could specify a "test" to be performed after a script finished executing, and if the test fails, then fire an error callback.

Not sure if it's possible to "abort" the chain at this point (which is what would be expected, likely), but at least you can know it happened.

Also, a variation of this might be to provide a timeout "test" where if the script takes too long, notify the callback of this potential "error".

@ghost ghost assigned getify Dec 18, 2011
@getify
Copy link
Owner Author

getify commented Jul 25, 2012

0017811

@getify getify closed this as completed Jul 25, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant