Skip to content

ironflow debounce

Inspect and cancel pending debounce entries for functions that collapse rapid-fire events into a single invocation. See the debounce how-to for background.

Terminal window
ironflow debounce <subcommand> [flags]

Subcommands:

SubcommandDescription
listList pending debounce entries (env-scoped)
cancelCancel one pending entry without firing it

List currently-armed debounce entries scoped to the request environment. Platform-scoped credentials see all envs.

Terminal window
ironflow debounce list [flags]

Flags:

LongShortTypeDefaultDescription
--jsonboolfalseOutput as JSON
--server-sstringServer URL (default: IRONFLOW_SERVER_URL or http://localhost:9123)

Examples:

Terminal window
ironflow debounce list
ironflow debounce list --json
ironflow debounce list -s http://localhost:9000

Output columns: FUNCTION_ID, KEY, FIRES_AT, PERIOD_MS, EVENT_ID.

Cancel one pending debounce entry by function ID and debounce key. The cancelled entry does not fire; the next event for the same key will start a fresh window.

Terminal window
ironflow debounce cancel <function-id> <debounce-key> [flags]

Flags:

LongShortTypeDefaultDescription
--envstringEnvironment ID (default: resolve from entry list if unambiguous)
--server-sstringServer URL (default: IRONFLOW_SERVER_URL or http://localhost:9123)

When --env is omitted, the command lists entries and matches uniquely on (function_id, debounce_key). Multiple matches across envs → error, pass --env to disambiguate. Debounce keys containing / or . are handled transparently (base64url encoded by the CLI on the wire).

Examples:

Terminal window
# Resolve env automatically when unambiguous
ironflow debounce cancel my-fn-id user-42
# Explicit env for tenant-scoped clarity
ironflow debounce cancel my-fn-id "build:repo-7" --env env_default
# Keys with special characters round-trip fine
ironflow debounce cancel my-fn-id "key.with.dots"