File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,7 @@ func (t *TestActivityEnvironment) SetWorkerStopChannel(c chan struct{}) {
281
281
// SetOnActivityHeartbeatListener sets a listener that will be called when
282
282
// activity heartbeat is called. ActivityInfo is defined in internal package,
283
283
// use public type activity.Info instead.
284
+ // Note: The provided listener may be called concurrently.
284
285
//
285
286
// Note: Due to internal caching by the activity system, this may not get called
286
287
// for every heartbeat recorded. This is only called when the heartbeat would be
@@ -934,6 +935,7 @@ func (e *TestWorkflowEnvironment) SetOnActivityCanceledListener(
934
935
935
936
// SetOnActivityHeartbeatListener sets a listener that will be called when activity heartbeat.
936
937
// Note: ActivityInfo is defined in internal package, use public type activity.Info instead.
938
+ // Note: The provided listener may be called concurrently.
937
939
//
938
940
// Note: Due to internal caching by the activity system, this may not get called
939
941
// for every heartbeat recorded. This is only called when the heartbeat would be
You can’t perform that action at this time.
0 commit comments