Class TaskSchedulerSubscribableChannelWriter
Inheritance
System.Object
TaskSchedulerSubscribableChannelWriter
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public class TaskSchedulerSubscribableChannelWriter : AbstractMessageChannelWriter
Constructors
|
Edit this page
View Source
TaskSchedulerSubscribableChannelWriter(TaskSchedulerSubscribableChannel, ILogger)
Declaration
public TaskSchedulerSubscribableChannelWriter(TaskSchedulerSubscribableChannel channel, ILogger logger = null)
Parameters
Properties
|
Edit this page
View Source
Channel
Declaration
public virtual TaskSchedulerSubscribableChannel Channel { get; }
Property Value
Methods
|
Edit this page
View Source
TryComplete(Exception)
Declaration
public override bool TryComplete(Exception error = null)
Parameters
Type |
Name |
Description |
Exception |
error |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
TryWrite(IMessage)
Declaration
public override bool TryWrite(IMessage message)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Edit this page
View Source
WaitToWriteAsync(CancellationToken)
Declaration
public override ValueTask<bool> WaitToWriteAsync(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
ValueTask<System.Boolean> |
|
Overrides
|
Edit this page
View Source
WriteAsync(IMessage, CancellationToken)
Declaration
public override ValueTask WriteAsync(IMessage message, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
ValueTask |
|
Overrides