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

    Function installZlib

    • Installs the bridge on the PHP Module.

      Masked, like the SQL bridge in @drupflare/durabledb. fflate's sync deflate is a long JavaScript frame under the PHP stack, which is exactly the window a slice interrupt must not try to suspend across.

      Parameters

      • binary: ZlibBinary

        The instantiated PHP module.

      • withMask: <R>(fn: () => R) => R

        The mask wrapper; injected rather than imported so the gate can assert that the call really happens inside it.

      Returns ZlibBinary