Interface Alarm


public interface Alarm
Handles a Durable Object alarm. An alarm invocation carries the same CPU limit as a request rather than a larger one.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    alarm(Env env, ExecutionCtx ctx)
    Runs one alarm.
  • Method Details

    • alarm

      void alarm(Env env, ExecutionCtx ctx)
      Runs one alarm.
      Parameters:
      env - the bindings declared in the Wrangler configuration
      ctx - the invocation context