Blocking on a Signal channel

Hi there!

The docs states the following:

“The Workflow also has the option to pause until it receives a Signal by blocking on a Signal channel .” (Signals in Java | Temporal documentation)

Is there a code example of this blocking? Is it different from Workflow.await?


For Go SDK: Channel.Receive blocks until it receives a value.
There is a number of samples in go samples that use this,
for example: samples-go/trip_workflow.go at master · temporalio/samples-go · GitHub

For Java SDK: I think this doc should be updated as it seems that part is cut/paste from the Go docs.
Will update.
For Java you would use Workflow.await as you mentioned