Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+
Nav

wait

wait(T, Number): T

Stops the execution for the specified timeout (in milliseconds).

Example

        
     
1
2
3
4
5
%dw 2.0
import * from dw::Runtime
output application/json
---
{user: 1} wait 2000
Output
{
  "user": 1
}