[][src]Function sunrise_kernel::event::wait

pub fn wait<'wait, INTOITER>(
    waitable_intoiter: INTOITER
) -> Result<&'wait dyn Waitable, UserspaceError> where
    INTOITER: IntoIterator<Item = &'wait dyn Waitable>,
    <INTOITER as IntoIterator>::IntoIter: Clone

Waits for an event to occur on one of the given Waitable objects.