Example for synchronous responses from processes - NestJS

Duplicate thread: How do we start sync workflow, wait for result and then continue long running work - NextJS