Closed lexnv closed 1 year ago
This PR extends the chainHead_follow to produce the results of the other chainHead methods
chainHead_follow
chainHead
chainHead_storage
chainHead_call
chainHead_body
mpsc::channel
BlockGuard
Sender
Recv
Closes: https://github.com/paritytech/substrate/issues/14638
// @paritytech/subxt-team
bot rebase
Rebased
This PR extends the
chainHead_follow
to produce the results of the otherchainHead
methodschainHead_storage
,chainHead_call
,chainHead_body
are now plain methodsmpsc::channel
is added between thechainHead_follow
and the rest of the methodschainHead_follow
events is generated by the subscription managementBlockGuard
struct is extended with the following fields:Sender
part of the channel to communicate the response back to thechainHead_follow
chainHead_follow
merges theRecv
part of the channel to forward responses of methods back to the userCloses: https://github.com/paritytech/substrate/issues/14638
// @paritytech/subxt-team