drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias ParkBinary

    The shape installPark needs of a PHP binary, so it can be driven from a test.

    It takes runText rather than _run because _run's return value is not the output: php-wasm delivers printed text through an output event, so reading the return reports absent always.

    type ParkBinary = {
        runText: (code: string) => Promise<string>;
    }
    Index
    runText: (code: string) => Promise<string>

    runs a fragment and answers what it printed