elioria-sst-x
    Preparing search index...

    Variable default

    default: {
        fetch: (
            request: Request,
            env?: {} | Env,
            executionCtx?: ExecutionContext,
        ) => Response | Promise<Response>;
        queue(batch: MessageBatch, env: Env): Promise<void>;
        scheduled(event: ScheduledEvent, env: Env): Promise<void>;
    }

    Type Declaration

    • fetch: (
          request: Request,
          env?: {} | Env,
          executionCtx?: ExecutionContext,
      ) => Response | Promise<Response>
    • queue: function
      • Generated

        Executes queue.

        Parameters

        • batch: MessageBatch

          The batch value.

        • env: Env

          The env value.

        Returns Promise<void>

        The function result.

        Objective: In module apps/api/src/index.ts, run queue.

        Behavior: Async; accepts batch and env; returns a value; invokes createContainer; may throw.

        When the function cannot complete normally.

    • scheduled: function
      • Generated

        Executes scheduled.

        Parameters

        • event: ScheduledEvent

          The event value.

        • env: Env

          The env value.

        Returns Promise<void>

        The function result.

        Objective: In module apps/api/src/index.ts, run scheduled.

        Behavior: Async; accepts event and env; returns a value; invokes console.log.