Skip to content

Commit

Permalink
Update example_versioned_docs/version-latest/14-async-functions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Rybicki <chrisr@monada.co>
  • Loading branch information
boyney123 and Chriscbr authored Sep 9, 2024
1 parent 91c1e35 commit ce79fe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Wing supports two function types, [preflight and inflight](/docs/concepts/inflig

- Inflight: Code that runs at runtime and implements your application's behavior. For example, handling API requests, processing queue messages, etc. Inflight code can be executed on various compute platforms in the cloud, such as function services (such as AWS Lambda or Azure Functions), containers (such as ECS or Kubernetes), VMs or even physical servers.

By default functions are preflight functions.
By default, most functions are preflight. A function is inflight if it has the `inflight` keyword or if the function is defined inside of another inflight function.

```js playground example title="main.w"
bring cloud;
Expand Down

0 comments on commit ce79fe6

Please sign in to comment.