void function ( Class < T > arg0 , long arg1 , TimeUnit arg2 ) { waitFor ( ( T loc0 ) -> true , arg1 , arg2 ) ; }
this causes the currently executing thread to wait until the specified event is dispatched . concode_field_sep ExecutorService eventExecutor concode_elem_sep V listener concode_elem_sep ConcurrentHashMap<Class<?>,ConcurrentHashMap<Method,CopyOnWriteArrayList<ListenerPair<Object>>>> methodListeners concode_elem_sep ConcurrentHashMap<Class<?>,CopyOnWriteArrayList<ListenerPair<IListener>>> classListeners concode_elem_sep IDiscordClient client concode_elem_sep boolean isTemporary concode_field_sep void unregisterListener concode_elem_sep void unregisterListener concode_elem_sep void dispatch concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerTemporaryListener concode_elem_sep void registerTemporaryListener concode_elem_sep void registerTemporaryListener