1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let finished: boolean = false;
let result = doAJob().then((jobResult) => {
finished = true;
return jobResult;
});
pollStatus(); // poll job status while job not finised.

async function pollStatus(): Promise<void> {
console.log("polling status...");

setTimeout(async () => {
// call sdk to poll status and print
const status = sdk.getStatus();
console.log(`status: ${status}`);

if (!finished) {
pollStatus(); // call loop again
}
}, 10000);
}
Read more »

Overview

计算机网络的类别

  • 信息时代,网络指的是“三网”:

    • 电信网络(固化网+移动网)
    • 有线电视网络
    • 计算机网络
  • 电路交换(circuit switching):建立连接 -> 通信 -> 释放连接

    circuit-switching

    缺点:电路中一个交换机或一条链路损坏则整个通信电路都要中断。

  • 分组交换

  • 三种交换方式的对比

    switching-comparasion

Read more »

May 25th Microsoft Teams Toolkit Public Preview

  1. Public Product:

  2. //Build (301 sessions, 80+ has “Teams”)​

  3. Baseline data of Teams apps

    • Teams active users​
      • DAU: ~140M​
      • MAU: ~240M​
    • Total apps: 80k​
    • In the past 9 months​
      • Apps published: 30.5k​
      • Apps approved: 19.1k​
    • In the past 3 months:​
      • Apps created by toolkit v1: 10k​
0%