mlx-bun library API
    Preparing search index...

    A single owner. Borrowing does not extend lifetime; transfer invalidates the old owner. close is idempotent, including when release throws.

    interface ResourceOwner<T> {
        borrow(): T;
        close(): void;
        transfer(): T;
    }

    Type Parameters

    • T
    Index