# SafeParserAsync

> This document is the Markdown version of [valibot.dev/api/SafeParserAsync/](https://valibot.dev/api/SafeParserAsync/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

The safe parser async interface.

## Generics

- `TSchema` `extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>`
- `TConfig` `extends Config<InferIssue<TSchema>> | undefined`

## Definition

- `SafeParserAsync`
  - `(input: unknown) => Promise<SafeParseResult<TSchema>>`
  - `schema` `TSchema`
  - `config` `TConfig`
