Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 795 Bytes

File metadata and controls

26 lines (17 loc) · 795 Bytes

CustomQueuingStrategy

Namespace: SpawnDev.SpawnJS.JSObjects
Inherits: QueueingStrategy
Source: JSObjects/CustomQueuingStrategy.cs

Custom queueing strategy

Constructors

Signature Description
CustomQueuingStrategy(int highWaterMark, Func<SpawnJSObject, int> size) The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy object instance.

Properties

Property Type Access Description
HighWaterMark override int get A non-negative integer. This defines the total number of chunks that can be contained in the internal queue before backpressure is applied.

Methods

Method Return Type Description
Size(object chunk) int