Table of Contents

Class PubsubSubscription

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

Represents an active subscription to a pub/sub topic.

public class PubsubSubscription
Inheritance
PubsubSubscription
Inherited Members

Constructors

PubsubSubscription(string, ChannelWriter<PubsubSubscribeResponse>)

public PubsubSubscription(string topic, ChannelWriter<PubsubSubscribeResponse> writer)

Parameters

topic string
writer ChannelWriter<PubsubSubscribeResponse>

Properties

AddedAt

public DateTime AddedAt { get; }

Property Value

DateTime

Topic

public string Topic { get; }

Property Value

string

Writer

public ChannelWriter<PubsubSubscribeResponse> Writer { get; }

Property Value

ChannelWriter<PubsubSubscribeResponse>