message: Make cancel test sync
diff: @@ -14,13 +14,13 @@ const writer: BrowserMessageWriter = new BrowserMessageWriter(self);
  const type = new RequestType0<boolean, void>('test/handleCancel');
  const connection = createMessageConnection(reader, writer, undefined, { cancellationStrategy: { sender: new SharedArraySenderStrategy(), receiver: new SharedArrayReceiverStrategy() } });
  connection.onRequest(type, (token) => {
  - return new Promise<boolean>((resolve) => {
  - setInterval(() => {
  + const start = Date.now();
  + while(Date.now() - start < 2000) {
  if (token.isCancellationRequested) {
  - resolve(true);
  + return true;
  }
  - }, 10);
  - });
  + }
  + return false;
  });
  connection.listen();
  \ No newline at end of file
  