10 2021 档案
摘要:语法使用规则 await 必须且只能使用在 async 函数中。 async 函数体中如果没有 await 关键字,则此函数永远不会被异步执行,而是和普通函数一样执行。 异步代码使用任务的概念(Task和Task<T>)对异步工作进行抽象。 作为一种命名传统,请为每个异步函数名添加 Async 后缀
阅读全文
摘要:$ ssh-keygen -t ed25519 -C "your_email@example.com" 或者 ssh-keygen -t rsa -b 4096 -C "your_email@example.com" Enter a file in which to save the key (/c
阅读全文
摘要:类(全部继承自DataItem) 描述 Event an alias for DataItem Sample a data item with a floating point value Message an event with an additional native code. The te
阅读全文
摘要:在OPCUA 中订阅某个结点值是否有变化,并做出相应处理。启动新线程去读取OPCUA结点值,出现以下错误: Exception in thread Thread-3:Traceback (most recent call last): File "/System/Library/Frameworks
阅读全文