Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

why 'ctx.terminate' is not wokring #328

Open
cielyic opened this issue Jul 27, 2021 · 0 comments
Open

why 'ctx.terminate' is not wokring #328

cielyic opened this issue Jul 27, 2021 · 0 comments

Comments

@cielyic
Copy link

cielyic commented Jul 27, 2021

// my.worker.js
const ctx: Worker = self as any;

ctx.terminate(); // not a function

but

// my.worker.js
const ctx: Worker = self as any;

ctx.close(); // works , but type is wrong
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant