Simple thread pool example using libkj and Promises