C# Class Res.Client.ThreadsafeResPublisher

Inheritance: ResPublisher
Show file Open project: heartysoft/res

Public Methods

Method Description
CommitAsync ( string context, string stream, EventData events, long expectedVersion ) : Task
CommitAsync ( string context, string stream, EventData events, long expectedVersion, System.TimeSpan timeout ) : Task
ThreadsafeResPublisher ( CommitRequestAcceptor acceptor, System.TimeSpan defaultTimeout ) : System

Method Details

CommitAsync() public method

public CommitAsync ( string context, string stream, EventData events, long expectedVersion ) : Task
context string
stream string
events EventData
expectedVersion long
return Task

CommitAsync() public method

public CommitAsync ( string context, string stream, EventData events, long expectedVersion, System.TimeSpan timeout ) : Task
context string
stream string
events EventData
expectedVersion long
timeout System.TimeSpan
return Task

ThreadsafeResPublisher() public method

public ThreadsafeResPublisher ( CommitRequestAcceptor acceptor, System.TimeSpan defaultTimeout ) : System
acceptor Res.Client.Internal.Commits.CommitRequestAcceptor
defaultTimeout System.TimeSpan
return System