Interface Tail


public interface Tail
Receives trace events from another Worker. A Tail Worker is deployed separately and named in the producing Worker's tail_consumers.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    tail(List<TraceItem> events, Env env, ExecutionCtx ctx)
    Handles one batch of trace events.
  • Method Details

    • tail

      void tail(List<TraceItem> events, Env env, ExecutionCtx ctx)
      Handles one batch of trace events.
      Parameters:
      events - the traces
      env - the bindings declared in the Wrangler configuration
      ctx - the invocation context