Stop/terminate a (sub)task started with @async

Is using schedule(t, InterruptException(), error=true) instead of @async Base.throwto(t, InterruptException()) correct here?

1 Like