flatMapSuccess

inline fun <C, T, O> ParserDescriptor<C, T>.flatMapSuccess(noinline mapper: (CommandContext<C>, T) -> CompletableFuture<ArgumentParseResult<O>>): ParserDescriptor<C, O>

Creates a descriptor for a flat-mapped parser.