Delegate type for ResourcePool
the resource
value to return to the invoker
execute, execute_async, execute_background