samdenty / comlink-extension

Use comlink with chrome extensions
https://www.npmjs.com/package/comlink-extension
28 stars 4 forks source link

Fix race condition in forward() #3

Open arseneyr opened 4 years ago

arseneyr commented 4 years ago

This PR depromisifies forward() by either passing it a port directly or via callback in serializePort().

Fixes #2

MindsightsAI commented 1 year ago

@samdenty What's taking so long for this PR to hang? It fixes a really important problem.