Interface Agent<ProcessUserData>

interface Agent<ProcessUserData> {
    entry: ((ctx) => Promise<void>);
    prewarm?: ((proc) => unknown);
}

Type Parameters

  • ProcessUserData = Record<string, unknown>

Properties

Properties

entry: ((ctx) => Promise<void>)

Type declaration

prewarm?: ((proc) => unknown)

Type declaration