pub async fn get_state_update(
    editor_stream: &mut InputMethodEditorClientRequestStream
) -> Result<(TextInputState, Option<KeyboardEvent>)>