Unpacks a protobuf Any containing a v3 session into its BaseSession. Node and subscription sessions use different wrapper messages, so decoding must be selected from Any.typeUrl before extracting their baseSession.
The protobuf Any from the session query
The decoded BaseSession, or null for unknown types and invalid data
Generated using TypeDoc
Unpacks a protobuf Any containing a v3 session into its BaseSession. Node and subscription sessions use different wrapper messages, so decoding must be selected from Any.typeUrl before extracting their baseSession.