我有一个控制器,所需的功能是实现一个同时执行两个操作的调用,首先获得输入,然后调用外部应用程序,然后响应调用OK,然后释放调用方。当外部应用程序响应时,我们得到响应并保存到db,我使用task.delay作为
第1部分
[HttpPost]
public async Task<IActionResults> ProcessTransaction(Transactions transactions)
{
// do some processing
TransactionResults results = new TransactionResults();
我有两个测试查询
CREATE (a:TEST)
DELETE a
WITH a
WHERE a <> NULL
RETURN (a:TEST)
回传
Added 1 label, created 1 node, deleted 1 node, statement completed in 0 ms.
和
CREATE (a:TEST)
DELETE a
WITH a
WHERE a IS NOT NULL
RETURN (a:TEST)
回传
Node with id 1738 has been deleted in this transaction
根据,"<&g