IFClite TypeScript API
    Preparing search index...

    Interface StreamingOptions

    Options for streaming geometry processing

    interface StreamingOptions {
        onBatch?: (batch: GeometryBatch) => void;
        onColorUpdate?: (
            updates: Map<number, [number, number, number, number]>,
        ) => void;
        onComplete?: (stats: PlatformGeometryStats) => void;
        onError?: (error: Error) => void;
        onMetadataBootstrap?: (bootstrap: MetadataBootstrapPayload) => void;
    }
    Index
    onBatch?: (batch: GeometryBatch) => void

    Callback for each batch of meshes

    onColorUpdate?: (updates: Map<number, [number, number, number, number]>) => void

    Callback for deferred color updates

    onComplete?: (stats: PlatformGeometryStats) => void

    Callback when processing is complete

    onError?: (error: Error) => void

    Callback for errors

    onMetadataBootstrap?: (bootstrap: MetadataBootstrapPayload) => void

    Declared but never read. This is the only occurrence of the name in the repository — no bridge implementation ever invokes it, so a callback passed here is never called and no "early metadata bootstrap" is delivered. Unlike its siblings (onBatch, onColorUpdate, onComplete, onError), which are all dispatched, this one is an unfinished stub. There is no substitute callback; metadata must be read from the completed result. Slated for removal; see issue #2731.

    Never invoked — see above.