%dw 2.0
import * from dw::Runtime
output application/json
---
{ "user" : 1 } wait 2000
wait
wait(T, Number): T
Stops the execution for the specified timeout (in milliseconds).
Stopping the execution will block the thread used, potentially causing slowness, low performance and potentially freezes of the entire runtime. This operation is intented for limited functional testing purposes and should not be used in production application, performance testing or with multiple applications deployed. |