Show / Hide Table of Contents

    Interface IAsyncStreamWriter<T>

    A writable stream of messages.

    Namespace: Grpc.Core
    Assembly: Grpc.Core.Api.dll
    Syntax
    public interface IAsyncStreamWriter<in T>
    Type Parameters
    Name Description
    T

    The message type.

    Properties

    WriteOptions

    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.

    Declaration
    WriteOptions WriteOptions { get; set; }
    Property Value
    Type Description
    WriteOptions

    Methods

    WriteAsync(T)

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

    Declaration
    Task WriteAsync(T message)
    Parameters
    Type Name Description
    T message

    The message to be written. Cannot be null.

    Returns
    Type Description
    System.Threading.Tasks.Task
    Back to top Generated by DocFX