Been looking around the docs if this is possible. Are they doable?
Looks like they are unavaiable as trying to delcare one throws
ReferenceError: "Worker" is not defined. (line 17, file "code")
According to this issue it is not possible to use the normal way, but he found a workaround using inline workers.