type alias ListsByIds

A batch loader: takes a list of ids and returns, for each id, the list of related numbers found for it. Ids with no matches are absent from the map.

Definition

(ids: number[]) => Promise<Map<number, number[]>>

Usage

import { type ListsByIds } from "doc.ts";