Skip to content

PersistentStreamProvider Methods

Persistent stream provider that uses an adapter for persistence

ExecuteCommand(int, object)

View source
public Task<object> ExecuteCommand(int command, object arg)
A function to execute a control command.

Parameters

commandint
A serial number of the command.
argobject
An opaque command argument.

Returns

The value returned from the command handler.

GetStream(StreamId)

View source
public IAsyncStream<T> GetStream<T>(StreamId streamId)
Gets the stream with the specified identity.

Parameters

streamIdStreamId
The stream identifier.

Returns

The stream.