From c9c1c1a6b55453a7937ab8dff3bfdaafce28922b Mon Sep 17 00:00:00 2001 From: bettybai Date: Wed, 21 Mar 2018 14:11:34 +1300 Subject: [PATCH] Add a basic feature description about Sync/Async This is my first commit. Change-Id: I8b9097c84d3c35135a27e1edc07989f311df5776 Story: #2001577 Task: #6526 --- doc/source/features.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/source/features.rst b/doc/source/features.rst index b190deb0..8cb8fcdb 100644 --- a/doc/source/features.rst +++ b/doc/source/features.rst @@ -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. \ No newline at end of file