Appearance
Promise.resolve(value)
Creates a promise that resolves with the given value. If the value is already a promise, it returns that promise.
import { Promise } from "@monstermann/promise"; const promise = Promise.resolve(42); // Promise<42>