Same as an AsyncOp, but allows returning errors in case the operation fails.
Type of the return value. Caller must ensure to provide the valid type.
The failure type. If the operation fails, this type will be returned.
Same as an AsyncOp, but allows returning errors in case the operation fails.