mlx-bun library API
    Preparing search index...

    One request's bounded denoising units. The first advance prefills the prompt and draws the first canvas; each later advance runs one denoising step (a finished block also emits it and prepares the next). Only the final result leaves the run; close() releases a run that has not finished.

    interface DenoisingRun {
        advance(): DiffusionGenResult | undefined;
        close(): void;
    }
    Index