Augmentations for promises.
This module's augmentations can be applied by using the following import:
import "@neotype/extensions/promise.js"; Copy
import "@neotype/extensions/promise.js";
Promises have the following behavior as a semigroup:
Promise<T>
Semigroup
T
Generated using TypeDoc
Augmentations for promises.
Remarks
Importing this module
This module's augmentations can be applied by using the following import:
Combining promises as a semigroup
Promises have the following behavior as a semigroup:
Promise<T>
implementsSemigroup
whenT
implementsSemigroup
.