#How start/stop long running task in nestJs

1 messages · Page 1 of 1 (latest)

desert pendant
#

i have route that import data from one server to another the process slow that might takes 30m or more
i really tried to do that in promise without await but i can't stop it
next thing i've tried is using bullmq but also i have problem stoping active jobs

shadow garden
#

@desert pendant
any reason to stop active job?

desert pendant
#

@shadow garden that's buissness requirements
i should be able to start import
i should be able to pause import
i should be able to cancel it too