Want to do an async task of adding two number together? Not problem.
invoke do/async-addition 40, 2
# create a delegation for the result and get the CID
result-cid = cid-for(delegate(do/async-addition-result 40, 2))
# create a receipt for this invocation, including the CID of the result delegation
receipt = generate-receipt-for(do/async-addition 40, 2, fx.join: result-cid)