a-synchronous / a-synchronous/rubico

provide map.entries entry mapper functions with reference to functor being mapped

未關閉 適合新手
#291 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
breaking
主要語言
JavaScript
星號
283
分支
17
PR 合併指標
30 天內沒有已合併 PR

描述

update map.entries synopsis

```
* type EntryMapper = (
* entry [key string|any, value any],
* ftor FunctorWithEntries
* )=>Promise|[resultKey string|any, resultItem Promise|any]
```

update docs

```
* If the functor is a map:
*
* ```coffeescript [specscript]
* mapper(entry [key any, value any], ftor Map) -> resultEntry Promise|[
* resultKey any,
* resultValue any,
* ]
* ```
*
* If the functor is an object:
*
* ```coffeescript [specscript]
* mapper(entry [key string, value any], ftor Object) -> resultEntry Promise|[
* resultKey string,
* resultValue any,
* ]
* ```
```

貢獻指南

開啟貢獻指南

研究方向

此 issue 涉及更新 map.entries 函式的文件。查看程式碼庫中現有的 map.entries 文件,可能位於 README 或 API 文件檔案中。更新概要和範例,以包含第二個參數(被映射的 functor),如 issue 內文所示。透過檢查格式並確保範例正確來驗證變更。

由索引模型根據 Issue 內容生成。

評估

領域
documentation
Issue 類型
文件
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
80/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。