pub async fn op_ws_next_event(
    state: Rc<RefCell<OpState>>,
    rid: ResourceId,
    _: ()
) -> Result<NextEventResponse, AnyError>