EventStoreClientOperationOptions class

A class representing the options to apply to an individual operation.

Constructors

EventStoreClientOperationOptions({Duration? timeoutAfter, required int batchAppendSize, required bool throwOnAppendFailure, Duration? batchAppendDeadline})
const

Properties

batchAppendDeadline Duration?
The batch append operation deadline.
final
batchAppendSize int
The batch size, in bytes.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throwOnAppendFailure bool
Whether or not to immediately throw a WrongExpectedVersionException when an append fails.
final
timeoutAfter Duration?
An optional Duration to use for gRPC deadlines.
final

Methods

cloneWith({Duration? timeoutAfter, int? batchAppendSize, bool? throwOnAppendFailure, Duration? batchAppendDeadline}) EventStoreClientOperationOptions
Clones a copy of the current <EventStoreClientOperationOptions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited