lowdefy/packages/docs/actions/Wait.yaml
2021-06-17 11:21:26 +02:00

41 lines
1.1 KiB
YAML

# Copyright 2020-2021 Lowdefy, Inc
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
_ref:
path: templates/actions.yaml.njk
vars:
pageId: Wait
pageTitle: Wait
filePath: actions/Wait.yaml
types: |
```
(params: {
ms: integer,
}): void
```
description: |
The `Wait` waits for the set number of milliseconds before returning.
params: |
###### object
- `ms: integer`: __Required__ - The number of milliseconds to wait.
examples: |
###### Wait for 500 milliseconds:
```yaml
- id: wait
type: Wait
params:
ms: 500
```