Temporal : Query on Promise with get() method call

79 views Asked by At

SDK : Temporal Java SDK

In the workflow code, we're trying to resolve the promise with get() method call, since its blocking call, i've below queries team, can you please clarify on this -

whether the workflow worker's main thread will be blocked or will it initiate new thread and resolve that promise. whether the workflow worker will get into sleep mode and it will get invoked when promise gets resolved.

In high level, we understand that get() method will block the main workflow thread.

0

There are 0 answers