| 43 | const sleep = (time) => new Promise((resolve) => setTimeout(resolve, time)); |
| 44 | |
| 45 | class AsyncProcessor { |
| 46 | constructor(producerFunction, consumerFunction) { |
| 47 | this.producerFunction = producerFunction; |
| 48 | this.consumerFunction = consumerFunction; |
nothing calls this directly
no outgoing calls
no test coverage detected