it
    Preparing search index...

    Interface AsyncBatchedObjectsOptions<T>

    interface AsyncBatchedObjectsOptions<T> {
        size?: number;
        yieldAfter?: number;
        serialize(object: T, list: Uint8ArrayList): void;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    size?: number

    The minimum number of bytes that should be in a batch (default: 1MB)

    yieldAfter?: number

    If this amount of time passes, yield all the bytes in the batch even if they are below size (default: 0 - e.g. on every tick)

    Methods