(f: () => S)
| 5097 | * @since 3.10.0 |
| 5098 | */ |
| 5099 | export function suspend<S extends Constraint>(f: () => S): suspend<S> { |
| 5100 | return make(new SchemaAST.Suspend(() => f().ast)) |
| 5101 | } |
| 5102 | |
| 5103 | /** |
| 5104 | * Attaches one or more filter checks to a schema without changing the |