From 221ec2711a6efd3b2959003341402825a5aa5d62 Mon Sep 17 00:00:00 2001 From: Vitaly Tomilov Date: Sat, 13 Jul 2024 17:23:52 +0100 Subject: [PATCH] docs --- src/ops/async/wait-race.ts | 1 + src/ops/async/wait.ts | 1 + src/ops/distinct.ts | 3 +++ src/ops/tap.ts | 4 ++++ 4 files changed, 9 insertions(+) diff --git a/src/ops/async/wait-race.ts b/src/ops/async/wait-race.ts index 6d625dc1..298e2a76 100644 --- a/src/ops/async/wait-race.ts +++ b/src/ops/async/wait-race.ts @@ -54,6 +54,7 @@ import {createOperation, throwOnSync} from '../../utils'; * * @see * - {@link wait} + * - {@link https://github.com/vitaly-t/iter-ops-extras/blob/main/src/map-wait.ts mapWait} * * @category Async-only */ diff --git a/src/ops/async/wait.ts b/src/ops/async/wait.ts index 92215057..d44c2cdb 100644 --- a/src/ops/async/wait.ts +++ b/src/ops/async/wait.ts @@ -46,6 +46,7 @@ import {createOperation, throwOnSync} from '../../utils'; * * @see * - {@link waitRace} + * - {@link https://github.com/vitaly-t/iter-ops-extras/blob/main/src/map-wait.ts mapWait} * * @category Async-only */ diff --git a/src/ops/distinct.ts b/src/ops/distinct.ts index 96edc35f..b52f5e2f 100644 --- a/src/ops/distinct.ts +++ b/src/ops/distinct.ts @@ -29,6 +29,9 @@ import {createOperation} from '../utils'; * ``` * * @category Sync+Async + * + * @see + * - {@link https://github.com/vitaly-t/iter-ops-extras/blob/main/src/distinct-values.ts distinctValues} */ export function distinct( keySelector?: (value: T, index: number) => K diff --git a/src/ops/tap.ts b/src/ops/tap.ts index 204068dc..5e26b4d2 100644 --- a/src/ops/tap.ts +++ b/src/ops/tap.ts @@ -18,6 +18,10 @@ import {createOperation} from '../utils'; * ``` * * @category Sync+Async + * + * @see + * - {@link https://github.com/vitaly-t/iter-ops-extras/blob/main/src/tap-log.ts tapLog} + * - {@link https://github.com/vitaly-t/iter-ops-extras/blob/main/src/tap-once.ts tapOnce} */ export function tap( cb: (value: T, index: number, state: IterationState) => void