Saxonberg Server API
    Preparing search index...

    Type Alias CommandShadowHook

    CommandShadowHook: (
        host: Stuff,
        shadow: Shadow,
        op: "attach" | "detach",
    ) => void

    The command-recency-stack delta a shadow attach/detach drives. Implemented by CommandApi.applyShadowDelta, injected via ShadowApi._registerCommandShadowHook so the shadow subsystem doesn't statically import command (a layering inversion that would pull the whole command closure onto the boot path).

    Type Declaration

      • (host: Stuff, shadow: Shadow, op: "attach" | "detach"): void
      • Parameters

        Returns void