Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ScanFunc

import type { ScanFunc } from "https://raw.githubusercontent.com/surma/observables-with-streams/28c55be6d855780c677fd1f4ba975f4d3144891d/src/transforms/scan.ts";
type ScanFunc<U, T> = (acc: U, v: T) => U;

§Type Parameters

§Type

§
(acc: U, v: T) => U
[src]