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
Copy file name to clipboardExpand all lines: readme.markdown
+6
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,12 @@ part. It is necessary for the main code to `require()` the worker code to fetch
70
70
the module reference and load `modulePath`'s dependency graph into the bundle
71
71
output.
72
72
73
+
## Worker.objectURL
74
+
75
+
The worker `w` returned by `webworkify` has the property `objectURL` attached.
76
+
`w.objectURL` refers to the Object URL that was used to pass the module's source
77
+
to the worker, and can be cleaned up using `URL.revokeObjectURL()`. (See [example](https://github.com/substack/webworkify/blob/master/example/main.js))
0 commit comments