getAsync
fun <T> getAsync(formSchema: Schema<T>, formValue: T, path: Path, coroutineScope: CoroutineScope = GlobalScope): CompletableFuture<Any?>
fun <T> getAsync(formSchema: Schema<T>, formValue: T, path: String, coroutineScope: CoroutineScope = GlobalScope): CompletableFuture<Any?>
Returns a future that completes with the single part of the form value formValue (with schema formSchema) matching path.
To get information about multiple parts of a form value at once, use valueInfoAsync instead.
The future will complete exceptionally with InvalidPathException if path contains wildcards or matches no schemas and with NoSuchElementException if no part of formValue matches path.