You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Read data from one or multiple streams, only returning entries with an ID greater than an ID provided by the caller.
378
+
/// </summary>
379
+
/// <param name="db">The <see cref="IDatabase"/> class where this extension method is applied.</param>
380
+
/// <param name="keys">Keys of the streams where to read from.</param>
381
+
/// <param name="positions">The positions from which to begin reading for each stream. See
382
+
/// <see cref="NRedisStack.Core.DataTypes.StreamSpecialIds"/> for special Ids that can be used.</param>
383
+
/// <param name="count">The maximum number of messages to return from each stream.</param>
384
+
/// <param name="timeoutMilliseconds">Amount of time in milliseconds to block in case all the streams are empty.
385
+
/// If not provided, or set to <c>null</c> then the read does not block. If set to <c>0</c> then it blocks indefinitely.</param>
386
+
/// <returns>A value of <see cref="RedisStreamEntries"/> for each stream, or <c>null</c> if the command times out
387
+
/// on the server.</returns>
388
+
/// <remarks>
389
+
/// <para>This is the blocking alternative for <seealso cref="IDatabase.StreamRead(StackExchange.Redis.StreamPosition[],System.Nullable{int},StackExchange.Redis.CommandFlags)"/>.</para>
/// Syntactic sugar for <see cref="XRead(StackExchange.Redis.IDatabase,StackExchange.Redis.RedisKey[],StackExchange.Redis.RedisValue[],System.Nullable{int},System.Nullable{int})"/>,
400
+
/// where only one stream is being read from.
401
+
/// </summary>
402
+
/// <param name="db">The <see cref="IDatabase"/> class where this extension method is applied.</param>
403
+
/// <param name="key">Key of the stream where to read from.</param>
404
+
/// <param name="position">The position from which to begin reading. See
405
+
/// <see cref="NRedisStack.Core.DataTypes.StreamSpecialIds"/> for special Ids that can be used.</param>
406
+
/// <param name="count">The maximum number of messages to return from each stream.</param>
407
+
/// <param name="timeoutMilliseconds">Amount of time in milliseconds to block in case all the streams are empty.
408
+
/// If not provided, or set to <c>null</c> then the read does not block. If set to <c>0</c> then it blocks indefinitely.</param>
409
+
/// <returns>A <see cref="StreamEntry"/> list with the data read from the stream, of <c>null</c> if the command
410
+
/// times out on the server.</returns>
411
+
/// <remarks>
412
+
/// <para>This is the blocking alternative for <seealso cref="IDatabase.StreamRead(StackExchange.Redis.RedisKey,StackExchange.Redis.RedisValue,System.Nullable{int},StackExchange.Redis.CommandFlags)"/>.</para>
/// Read new or historical messages in one or several streams, for a consumer in a consumer group.
429
+
/// </summary>
430
+
/// <param name="db">The <see cref="IDatabase"/> class where this extension method is applied.</param>
431
+
/// <param name="groupName">The consumer group name.</param>
432
+
/// <param name="consumerName">The name of the consumer in the consumer group.</param>
433
+
/// <param name="keys">Keys of the streams where to read from.</param>
434
+
/// <param name="positions">The positions from which to begin reading for each stream. See
435
+
/// <see cref="NRedisStack.Core.DataTypes.StreamSpecialIds"/> for special Ids that can be used.</param>
436
+
/// <param name="count">The maximum number of messages to return from each stream.</param>
437
+
/// <param name="timeoutMilliseconds">Amount of time in milliseconds to block in case all the streams are empty.
438
+
/// If not provided, or set to <c>null</c> then the read does not block. If set to <c>0</c> then it blocks indefinitely.</param>
439
+
/// <param name="noAck">If set to <c>true</c> then inform the server that it should not wait for ACK for the
440
+
/// messages it sends to this read call.</param>
441
+
/// <returns>A value of <see cref="RedisStreamEntries"/> for each stream, or <c>null</c> if the command times out
442
+
/// on the server.</returns>
443
+
/// <remarks>
444
+
/// <para>This is the blocking alternative for <seealso cref="IDatabase.StreamReadGroup(StackExchange.Redis.StreamPosition[],StackExchange.Redis.RedisValue,StackExchange.Redis.RedisValue,System.Nullable{int},StackExchange.Redis.CommandFlags)"/>.</para>
/// Syntactic sugar for <see cref="XReadGroup(StackExchange.Redis.IDatabase,StackExchange.Redis.RedisValue,StackExchange.Redis.RedisValue,StackExchange.Redis.RedisKey[],StackExchange.Redis.RedisValue[],System.Nullable{int},System.Nullable{int},System.Nullable{bool})"/>,
455
+
/// where only one stream is being read from.
456
+
/// </summary>
457
+
/// <param name="db">The <see cref="IDatabase"/> class where this extension method is applied.</param>
458
+
/// <param name="groupName">The consumer group name.</param>
459
+
/// <param name="consumerName">The name of the consumer in the consumer group.</param>
460
+
/// <param name="key">Key of the stream where to read from.</param>
461
+
/// <param name="position">The position from which to begin reading. See
462
+
/// <see cref="NRedisStack.Core.DataTypes.StreamSpecialIds"/> for special Ids that can be used.</param>
463
+
/// <param name="count">The maximum number of messages to return from each stream.</param>
464
+
/// <param name="timeoutMilliseconds">Amount of time in milliseconds to block in case all the streams are empty.
465
+
/// If not provided, or set to <c>null</c> then the read does not block. If set to <c>0</c> then it blocks indefinitely.</param>
466
+
/// <param name="noAck">If set to <c>true</c> then inform the server that it should not wait for ACK for the
467
+
/// messages it sends to this read call.</param>
468
+
/// <returns>A <see cref="StreamEntry"/> list with the data read from the stream, of <c>null</c> if the command
469
+
/// times out on the server.</returns>
470
+
/// <remarks>
471
+
/// <para>This is the blocking alternative for <seealso cref="IDatabase.StreamReadGroup(StackExchange.Redis.RedisKey,StackExchange.Redis.RedisValue,StackExchange.Redis.RedisValue,System.Nullable{StackExchange.Redis.RedisValue},System.Nullable{int},StackExchange.Redis.CommandFlags)"/>.</para>
0 commit comments