GoogleChromeLabs / tasklets

177 stars 17 forks source link

Allow binding functions #20

Closed surma closed 7 years ago

surma commented 7 years ago

Fixes #19

It doesn’t quite adhere to the semantics of bind as we’d have to potentially proxy values from main thread to tasklet, but it covers the 99% use-case I’d say.

@bfgeek PTAL

surma commented 7 years ago

This has been implemented in Comlink.