Restate Typescript SDK
    Preparing search index...

    Type Alias HooksProvider

    HooksProvider: (ctx: { request: Request }) => Hooks

    Factory called on every attempt. Receives the invocation request, returns hooks for that attempt's lifetime. Each attempt gets a fresh call.

    Type Declaration