/// Returns the current state of the reader.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readyState)
Returns the current state of the reader.
Returns the current state of the reader .
pub fn ready_state( &self ) -> ReadyState {
        let state: i32 = js!( return @{self}.readyState; ).try_into().unwrap();
        match state {
            0 => ReadyState::Empty,
            1 => ReadyState::Loading,
            2 => ReadyState::Done,
            _ => unreachable!( "Unexpected value of FileReader::readyState: {}", state )
        }
    }
pub fn ready_state ( & self ) -> ReadyState { let state : i32 = js ! ( return { self } readyState ) . try_into ( ) . unwrap ( ) ; match state { 0 => ReadyState :: Empty , 1 => ReadyState :: Loading , 2 => ReadyState :: Done , _ => unreachable ! ( " " state ) } }
Returns the current state of the reader.
Returns the current state of the reader .
&self