//What we're gonna do with the async text when available | |
Partial<Builder> textToApply = | |
sources.value(textf) | |
.by((builder, text) -> builder.flatMapR(b -> text.mapR(b::text))); | |
//Same thing for the number | |
Partial<Builder> numberToApply = | |
sources.value(numberf) | |
.by((builder, number) -> builder.flatMapR(b -> number.mapR(b::number))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment