mirror of
https://github.com/openfaas/faas.git
synced 2025-06-23 15:23:29 +00:00
Update asynchronous.md
This commit is contained in:
@ -61,7 +61,7 @@ $ kubectl -f apply ./faas.async.yml,nats.yml
|
|||||||
Functions do not need to be modified to work asynchronously, just use this alternate route:
|
Functions do not need to be modified to work asynchronously, just use this alternate route:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ http://gateway/async-function/{function_name}
|
http://gateway/async-function/{function_name}
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want the function to call another function or a different endpoint when it is finished then pass the `X-Callback-Url` header. This is optional.
|
If you want the function to call another function or a different endpoint when it is finished then pass the `X-Callback-Url` header. This is optional.
|
||||||
|
Reference in New Issue
Block a user