Namespace: SpawnDev.SpawnJS.JSObjects
Inherits: QueueingStrategy
Source: JSObjects/CustomQueuingStrategy.cs
Custom queueing strategy
| Signature |
Description |
CustomQueuingStrategy(int highWaterMark, Func<SpawnJSObject, int> size) |
The ByteLengthQueuingStrategy() constructor creates and returns a ByteLengthQueuingStrategy object instance. |
| 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. |
| Method |
Return Type |
Description |
Size(object chunk) |
int |
|