ByteDance interview question

How to construct an async event pool