mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
baconjs [http://baconjs.github.io/] definition
This commit is contained in:
@@ -330,7 +330,7 @@ function Errors() {
|
||||
return Bacon.retry({
|
||||
source: () => ajaxCall(url),
|
||||
retries: 5,
|
||||
isRetryable: error => error.status !== 404,
|
||||
isRetryable: (error:JQueryXHR) => error.status !== 404,
|
||||
delay: context => 100 // Just use the same delay always
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user