StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
809 B
29 lines
809 B
4 years ago
|
async-settle
|
||
|
============
|
||
|
|
||
|
[](http://travis-ci.org/phated/async-settle)
|
||
|
|
||
|
Settle your async functions - when you need to know all your parallel functions are complete (success or failure)
|
||
|
|
||
|
## API
|
||
|
|
||
|
### `settle(executor, onComplete)` : Function
|
||
|
|
||
|
Takes a function to execute (`executor`) and a function to call on completion (`onComplete`).
|
||
|
|
||
|
`executer` is executed in the context of [`async-done`](https://github.com/phated/async-done), with all errors and results being settled.
|
||
|
|
||
|
`onComplete` will be called with a settled value.
|
||
|
|
||
|
#### Settled Values
|
||
|
|
||
|
Settled values have two properties, `state` and `value`.
|
||
|
|
||
|
`state` has two possible options `'error'` and `'success'`.
|
||
|
|
||
|
`value` will be the value passed to original callback.
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|