Function dvcompute::simulation::resource::try_request_resource_within_event [−][src]
pub fn try_request_resource_within_event<S>(
resource: Rc<Resource<S>>
) -> TryRequestWithinEvent<S> where
S: QueueStrategy,
Expand description
Try to request for the resource immediately and return a flag indicating whether the resource was aquired.