summerscar

blog


  • Home

  • Categories

  • About

  • Archives

  • Tags

  • Search

comlink 原理

Posted on 2021-12-10 | In Code | |

Comlink通过提供一个RPC实现,将这种基于消息的API变成了对开发者更友好的东西。一个线程的值可以在另一个线程中使用(反之亦然),就像本地值一样。

ScratchAddons 项目使用这个库,用于在chrome extension中同步 contentScript 与 pagescript 的数据。

https://www.notion.so/Comlink-d15ec2f02cf948a3b3cd2c02cca9d78e

scratch-vm dispatch分析
Turbowarp compiler
summerscar

summerscar

不会日语的up主不是一个好程序猿

13 posts
5 categories
16 tags
GitHub Weibo E-Mail BILIBILI Instagram
© 2022 summerscar
Powered by Hexo
|
Theme — NexT.Mist