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

PromisifyOptions

import type { PromisifyOptions } from "https://raw.githubusercontent.com/takker99/async-lib/0.2.0/mod.ts";
interface PromisifyOptions {
maxQueued?: number | undefined;
}

§Properties

§
maxQueued?: number | undefined
[src]

callbackから次の値を取り出すまでに実行されたcallbackの結果を最新でいくつまで保持するかを表す値

  • 最後に実行された値だけを残したいときは1を指定する
  • 一つも残したくないときは0を指定する
  • 全部残したいときはundefinedを指定する
    • これが既定の動作