apoc.util.sleep(<duration>) | sleeps for <duration> millis, transaction termination is honored
Signature
apoc.util.sleep(duration :: INTEGER?) :: VOID
Input parameters
Name
Type
Default
duration
INTEGER?
null
Usage Examples
WITH apoc.date.currentTimestamp() AS start
CALL apoc.util.sleep(1000)
WITH start, apoc.date.currentTimestamp() AS end
RETURN datetime({epochmillis: start}) AS start,
datetime({epochmillis: end}) AS end;