Table of Contents

Method GetDirectAsync

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

GetDirectAsync<T>(StreamMsgGetRequest, INatsDeserialize<T>?, CancellationToken)

public ValueTask<NatsMsg<T>> GetDirectAsync<T>(StreamMsgGetRequest request, INatsDeserialize<T>? serializer = null, CancellationToken cancellationToken = default)

Parameters

request StreamMsgGetRequest
serializer INatsDeserialize<T>
cancellationToken CancellationToken

Returns

ValueTask<NatsMsg<T>>

Type Parameters

T