Crate first_ok

Crate first_ok 

Source

Functionsยง

get_first_ok_bounded
Returns the first non-error result from a function checker applied to each entry in a list of items. If the list of items is empty, it returns None. If all of the results are errors, it returns the last error. There are concurrent workers to apply the checker function. If concurrent is 0, then it will create len(items) workers.