chickadee » timed-resource » with-timed-resource

with-timed-resource TIMED-RESOURCE ACTIONprocedure

Returns the result of invoking ACTION with the resource covered by the TIMED-RESOURCE. The acquired resource will not be released during the extent of the with-timed-resource invocation.

ACTION
(<(timed-resource-open) cached> -> *) ; protected use of resource.