Closed betula closed 3 years ago
selector(init_value?, (stop) => {}); selector((stop?) => {}); cycle((stop) => {}); on((stop) => {}, () => {}); // But I think pool no need to use "(stop) =>" syntax, maybe stoppable() is better for pool? // pool.stop pool(async () => { const stop = pool.stop; pool.stop(); pool.stop.throw(); }); pool.stoppable((stop) => { return async () => { } });
Added to "the stream of conciseness 0.7+ roadmap"