pub fn with_eventloop_target<R>(func: impl FnOnce(&EventLoopTarget) -> R) -> RExpand description
Run closure using current EventLoopTarget
Will panic if it called on outside of runtime thread
pub fn with_eventloop_target<R>(func: impl FnOnce(&EventLoopTarget) -> R) -> RRun closure using current EventLoopTarget
Will panic if it called on outside of runtime thread