CodeSampleX

サンプル

Prove that p-limit map’s argument order is iterable-first, not callback-first.

sha256:700635bd470c15e4480d490bad3483a639d29a990016276534d3bf1651a6e366

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Prove that p-limit map’s argument order is iterable-first, not callback-first. HOW
パッケージ
p-limit 7.3.1
環境
node
作成日
2026-08-17T03:18:11Z

よくある思い込み

A competent caller expects `limit.map(mapper, iterable)` like `Array.prototype.map`.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート