Control the throughput of function calls and core.async channels