Type Alias AsyncConsumer<T>

AsyncConsumer<T>: ((value: T) => Promise<void>)

An async function that consumes a value.

Type Parameters

  • T