Implementation of asynchronous return value