Namespace: FsToolkit.ErrorHandling
ok lifts a value into a successful AsyncValidation.
'ok -> AsyncValidation<'ok, 'error>let result : AsyncValidation<int, string> =
AsyncValidation.ok 42
// async { Ok 42 }let result : AsyncValidation<string, string> =
AsyncValidation.ok "hello"
// async { Ok "hello" }