sdk-go icon indicating copy to clipboard operation
sdk-go copied to clipboard

Add GetName() func to Signal Chanel to return human readable name

Open ilewin opened this issue 1 year ago • 2 comments
trafficstars

Is your feature request related to a problem? Please describe. While dynamically creating signal channels and assigning callback functions to it, it is not possible to identify the channel name in the callback funciton

Describe the solution you'd like adding a GetName() string func to the Chanel interface

ilewin avatar Nov 21 '23 19:11 ilewin

Why can't you add the name when creating the callback? Normal Go channels don't support a name so I am not sure Temporal channels would need such a functionality

Quinn-With-Two-Ns avatar Nov 27 '23 16:11 Quinn-With-Two-Ns

If we did want to include name, probably makes sense to group with other signal info https://github.com/temporalio/temporal/issues/5874

Quinn-With-Two-Ns avatar Nov 27 '23 16:11 Quinn-With-Two-Ns