Interface IAsyncStreamWriter<T> (2.48.0)

public interface IAsyncStreamWriter<in T>

A writable stream of messages.

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Type Parameter

Name Description
T

The message type.

Properties

WriteOptions

WriteOptions WriteOptions { get; set; }

Write options that will be used for the next write. If null, default options will be used. Once set, this property maintains its value across subsequent writes.

Property Value
Type Description
WriteOptions

Methods

WriteAsync(T)

Task WriteAsync(T message)

Writes a message asynchronously. Only one write can be pending at a time.

Parameter
Name Description
message T

The message to be written. Cannot be null.

Returns
Type Description
Task