You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the Nest.js example to correctly shut down the worker on application termination (for both SIGINT and SIGTERM).
Describe the bug
In the example, the exchange-rates-worker.service.ts calls await this.worker.close();, which doesn't / no longer exists on Worker from @temporalio/worker.
Minimal Reproduction
See nestjs-exchange-rates/apps/worker/src/exchange-rates-worker/exchange-rates-worker.service.ts.
The text was updated successfully, but these errors were encountered:
What are you really trying to do?
I am trying to get the Nest.js example to correctly shut down the worker on application termination (for both
SIGINT
andSIGTERM
).Describe the bug
In the example, the
exchange-rates-worker.service.ts
callsawait this.worker.close();
, which doesn't / no longer exists onWorker
from@temporalio/worker
.Minimal Reproduction
See
nestjs-exchange-rates/apps/worker/src/exchange-rates-worker/exchange-rates-worker.service.ts
.The text was updated successfully, but these errors were encountered: