Skip to content

Commit

Permalink
remove unstable permission.
Browse files Browse the repository at this point in the history
  • Loading branch information
dojyorin committed Jan 20, 2024
1 parent c65d37d commit 6a96d37
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ export function createTask<T extends unknown, K extends unknown>(task:WorkerTask
return (message:T, transfer?:Transferable[])=>{
return new Promise<K>((res, rej)=>{
const worker = new Worker(url, {
type: "module",
deno: {
permissions: "inherit"
}
type: "module"
});

worker.onmessage = ({data})=>{
Expand Down

0 comments on commit 6a96d37

Please sign in to comment.