Add a Yield function to the RPC Context.