Remove unused ForceRead function

This commit is contained in:
Ben Jackson 2020-01-08 17:23:42 +00:00
commit 5aa33c19f7
2 changed files with 0 additions and 18 deletions

View file

@ -97,15 +97,6 @@ function! vimspector#internal#channel#Reset() abort
endif
endfunction
function! vimspector#internal#channel#ForceRead() abort
if exists( 's:ch' )
let data = ch_readraw( s:ch, { 'timeout': 1000 } )
if data !=# ''
call s:_OnServerData( s:ch, data )
endif
endif
endfunction
" Boilerplate {{{
let &cpoptions=s:save_cpo
unlet s:save_cpo

View file

@ -115,15 +115,6 @@ function! vimspector#internal#job#Reset() abort
call vimspector#internal#job#StopDebugSession()
endfunction
function! vimspector#internal#job#ForceRead() abort
if exists( 's:job' )
let data = ch_readraw( job_getchannel( s:job ), { 'timeout': 1000 } )
if data !=# ''
call s:_OnServerData( job_getchannel( s:job ), data )
endif
endif
endfunction
function! vimspector#internal#job#StartCommandWithLog( cmd, category ) abort
if ! exists( 's:commands' )
let s:commands = {}