class BufferStreamApi extends BaseStreamApi implements NeovimBufferApi {

    @Override
    public CompletableFuture<Map<String, CommandInfo>> getCommands(GetCommandsOptions commandsOptions) {
        return sendWithResponseOfMapType(
                prepareMessage(GET_COMMANDS).addArgument(commandsOptions),
                String.class, CommandInfo.class
        );
    }

    public  BufferStreamApi(ReactiveRpcStreamer reactiveRpcStreamer,
                           Buffer model);

}