Add a basic feature description about Sync/Async

This is my first commit.

Change-Id: I8b9097c84d3c35135a27e1edc07989f311df5776
Story: #2001577
Task: #6526
This commit is contained in:
bettybai 2018-03-21 14:11:34 +13:00 committed by Xiaohan Bai
parent 7cd0e933b1
commit c9c1c1a6b5
1 changed files with 9 additions and 0 deletions

View File

@ -32,3 +32,12 @@ Webhook
Webhooks are a low-effort way to invoke the functions in Qinling. They do
not require a bot user or authentication to use.
Sync/Async Function Executions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Qinling allows the functions to be executed either synchronously or
asynchronously. For synchronous functions, the caller will be blocked to wait
for the responses. Asynchronous functions will be executed at the same time
point and the responses will be returned to the caller immediately, the caller
could check the result later on.