You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[🔄 **Run this example on JSFiddle**](https://jsfiddle.net/developit/mf9fbma5/)
50
50
51
+
52
+
## Transferable ready
53
+
54
+
Greenlet will even accept and optimize [transferables](https://developer.mozilla.org/en-US/docs/Web/API/Transferable) as arguments to and from a greenlet worker function.
55
+
56
+
51
57
## Browser support
52
58
53
59
Thankfully, Web Workers have been around for a while and [are broadly supported](https://caniuse.com/#feat=webworkers) by Chrome, Firefox, Safari, Edge, and Internet Explorer 10+.
@@ -62,7 +68,6 @@ if (window.Worker) {
62
68
}
63
69
```
64
70
65
-
66
71
## License & Credits
67
72
68
73
> In addition to the contributors, credit goes to [@sgb-io](https://github.com/sgb-io) for his annotated exploration of Greenlet's source. This prompted a refactor that clarified the code and allowed for further size optimizations.
0 commit comments