MergeStrategy overview
Added in v2.0.0
Table of contents
constructors
BackPressure
Signature
export declare const BackPressure: (_: void) => MergeStrategy
Added in v2.0.0
BufferSliding
Signature
export declare const BufferSliding: (_: void) => MergeStrategy
Added in v2.0.0
folding
match
Folds an MergeStrategy
into a value of type A
.
Signature
export declare const match: {
<A>(options: { readonly onBackPressure: () => A; readonly onBufferSliding: () => A }): (self: MergeStrategy) => A
<A>(self: MergeStrategy, options: { readonly onBackPressure: () => A; readonly onBufferSliding: () => A }): A
}
Added in v2.0.0
models
BackPressure (interface)
Signature
export interface BackPressure extends MergeStrategy.Proto {
readonly _tag: "BackPressure"
}
Added in v2.0.0
BufferSliding (interface)
Signature
export interface BufferSliding extends MergeStrategy.Proto {
readonly _tag: "BufferSliding"
}
Added in v2.0.0
MergeStrategy (type alias)
Signature
export type MergeStrategy = BackPressure | BufferSliding
Added in v2.0.0
refinements
isBackPressure
Returns true
if the specified MergeStrategy
is a BackPressure
, false
otherwise.
Signature
export declare const isBackPressure: (self: MergeStrategy) => self is BackPressure
Added in v2.0.0
isBufferSliding
Returns true
if the specified MergeStrategy
is a BufferSliding
, false
otherwise.
Signature
export declare const isBufferSliding: (self: MergeStrategy) => self is BufferSliding
Added in v2.0.0
isMergeStrategy
Returns true
if the specified value is a MergeStrategy
, false
otherwise.
Signature
export declare const isMergeStrategy: (u: unknown) => u is MergeStrategy
Added in v2.0.0
symbols
MergeStrategyTypeId
Signature
export declare const MergeStrategyTypeId: typeof MergeStrategyTypeId
Added in v2.0.0
MergeStrategyTypeId (type alias)
Signature
export type MergeStrategyTypeId = typeof MergeStrategyTypeId
Added in v2.0.0
utils
MergeStrategy (namespace)
Added in v2.0.0
Proto (interface)
Signature
export interface Proto {
readonly [MergeStrategyTypeId]: MergeStrategyTypeId
}
Added in v2.0.0