Utils library for asynchronous patterns in Scala