Explorer

definy.worker-step

description
What a worker deployed with definy.deploy-fetch-worker returns: respond, or send an HTTP request (fetch) and continue with the response. The worker.js (definy.cloudflare-workers-runtime-script) runs it
type
Type
expression
Union{
  #respond(@definy.worker-response),
  #fetch(Record{
    request: @definy.worker-fetch-request,
    then: Fn(response: @definy.worker-fetch-response) -> @definy.worker-step
  })
}
visibility
public
definy.worker-step (project definy, branch release-time-compare, snapshot JJrRgQW_LZN6tN8CbYr1dN7HosqNTuIWWYx7ACbt1n0)
id: Itltl_EtrEzLDF9tOG3XFQN8fFu0xV35rg2D4-WP0-E
content hash: 0ps--Ew8fVi7q7oNUk-wcbgAxJ_rKw4vAiWxjuW1FIM