[][src]Module sealrs::futures::async_promise

Asynchronous completed promise

This type of promise is designed to be filled with result produced from a function, execute on executor. Passed closure will immediately planned for execution on specified executor. After execution, result of function will automatically completes internal future.

Examples

See the module level documentation.

Structs

AsyncPromise