pub fn checkEvent(self: *BootServices, event: Event) CheckEventError!bool self: *BootServicesevent: Event571
572
573
574
575
576
577
578 pub fn checkEvent(self: *BootServices, event: Event) CheckEventError!bool {
switch (self._checkEvent(event)) {
.success => return true,
.not_ready => return false,
.invalid_parameter => return error.InvalidParameter,
else => |status| return uefi.unexpectedStatus(status),
}
}
Checks to see whether an event is signaled.
The underlying function is equivalent to this pseudo-code: