CodeSampleX

Sample

Configure leading and trailing edge execution in es-toolkit debounce and throttle via the edges array and AbortSignal instead of lodash boolean option flags

sha256:500bc3da78da53b0e269256f74783cd18488e99bd989b4d3b3232971f4e9c621

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Configure leading and trailing edge execution in es-toolkit debounce and throttle via the edges array and AbortSignal instead of lodash boolean option flags HOW
Packages
es-toolkit 1.50.0
Environment
node
Created
2026-08-17T01:50:26Z

Commonly assumed

Passing { leading: true, trailing: false } to debounce executes immediately on the first call and prevents delayed execution on the trailing edge.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts