Comment Comment by mkehrt > You could literally "reduce" and array of integers to a cancellation token, or a state object, or anything elseThis is what reduce does, though? It reduces a list to a single thing. It seems like you're thinking of filter. parent mkehrt 1 month ago
This is what reduce does, though? It reduces a list to a single thing. It seems like you're thinking of filter.