View source

typedef thx.promise.PromiseValue<T> = Result<T, Error>

import thx.promise.Promise;

Available on all platforms