gameplate - v2.3.0
    Preparing search index...

    Type Alias ActionTap

    ActionTap: (name: string, args: readonly unknown[]) => void

    Hook that Recorder hands to createGame via its tap field.

    Fires synchronously after each action's setState succeeds, with the action's name and the arguments it was called with. Actions that throw never fire the tap — so a recording always replays cleanly.

    Type Declaration

      • (name: string, args: readonly unknown[]): void
      • Parameters

        • name: string
        • args: readonly unknown[]

        Returns void