Share via


Streamable.ExtendLifetime<TKey,TPayload> Method

Definition

Create a stream that extends all event lifetimes by a fixed amount.

public static Microsoft.StreamProcessing.IStreamable<TKey,TPayload> ExtendLifetime<TKey,TPayload> (this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> stream, long duration);
static member ExtendLifetime : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * int64 -> Microsoft.StreamProcessing.IStreamable<'Key, 'Payload>
<Extension()>
Public Function ExtendLifetime(Of TKey, TPayload) (stream As IStreamable(Of TKey, TPayload), duration As Long) As IStreamable(Of TKey, TPayload)

Type Parameters

TKey
TPayload

Parameters

duration
Int64

Returns

Applies to