class BufferStreamApi extends BaseStreamApi implements NeovimBufferApi {

    @Override
    public CompletableFuture<Boolean> detach() {
        return sendWithResponseOfType(
                prepareMessage(DETACH_BUFFER),
                Boolean.class
        );
    }

    public  BufferStreamApi(ReactiveRpcStreamer reactiveRpcStreamer,
                           Buffer model);

}