﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head># SetSchemaAsync

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

Set schema async interface.

## Generics

- `TValue` `extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>`
- `TMessage` `ErrorMessage<SetIssue> | undefined`

## Definition

- `SetSchemaAsync` `extends BaseSchemaAsync<InferSetInput<TValue>, InferSetOutput<TValue