Receiving signals in a delegate

Is there a way for a Camunda delegate to receive a signal thrown by another Camunda flow?

I have a flow that needs to wait for some data before responding to the caller. How do I have a java delegate wait for a signal or message from another flow before proceeding?

Why do you want to do it in a delegate and not simply as an event?/

I’m trying to have a flow wait for data without returning to the call that it completed. I tried this with exclusive gateways and it always appears that the flow has completed when run in postman but in the cockpit it is still waiting. I need it to not return that 200 until the data has come back from the external service