def render(request, resource, clock):
    request.render(resource)
    wait_until_result(clock, request)
def render(request, resource, clock):
    request.render(resource)
    wait_until_result(clock, request)