@@ -37,12 +37,12 @@ import (
37
37
// calls will be intercepted by it. If an implementation of this interceptor is
38
38
// provided via worker options, all worker calls will be intercepted by it.
39
39
//
40
- // All implementations of this should embed InterceptorBase but are not required
40
+ // All implementations of this should embed [ InterceptorBase] but are not required
41
41
// to.
42
42
type Interceptor = internal.Interceptor
43
43
44
44
// InterceptorBase is a default implementation of Interceptor meant for
45
- // embedding. It simply embeds ClientInterceptorBase and WorkerInterceptorBase.
45
+ // embedding. It simply embeds [ ClientInterceptorBase] and [ WorkerInterceptorBase] .
46
46
type InterceptorBase = internal.InterceptorBase
47
47
48
48
// WorkerInterceptor is an interface for all calls that can be intercepted
@@ -55,9 +55,9 @@ type InterceptorBase = internal.InterceptorBase
55
55
// changes.
56
56
type WorkerInterceptor = internal.WorkerInterceptor
57
57
58
- // WorkerInterceptorBase is a default implementation of WorkerInterceptor that
59
- // simply instantiates ActivityInboundInterceptorBase or
60
- // WorkflowInboundInterceptorBase when called to intercept activities or
58
+ // WorkerInterceptorBase is a default implementation of [ WorkerInterceptor] that
59
+ // simply instantiates [ ActivityInboundInterceptorBase] or
60
+ // [ WorkflowInboundInterceptorBase] when called to intercept activities or
61
61
// workflows respectively.
62
62
//
63
63
// This must be embedded into all WorkerInterceptor implementations to safely
@@ -69,15 +69,15 @@ type WorkerInterceptorBase = internal.WorkerInterceptorBase
69
69
// activity calls, can change the outbound interceptor in Init before the next
70
70
// call in the chain.
71
71
//
72
- // All implementations must embed ActivityInboundInterceptorBase to safely
72
+ // All implementations must embed [ ActivityInboundInterceptorBase] to safely
73
73
// handle future changes.
74
74
type ActivityInboundInterceptor = internal.ActivityInboundInterceptor
75
75
76
76
// ActivityInboundInterceptorBase is a default implementation of
77
- // ActivityInboundInterceptor that forwards calls to the next inbound
77
+ // [ ActivityInboundInterceptor] that forwards calls to the next inbound
78
78
// interceptor and uses an ActivityOutboundInterceptorBase on Init.
79
79
//
80
- // This must be embedded into all ActivityInboundInterceptor implementations to
80
+ // This must be embedded into all [ ActivityInboundInterceptor] implementations to
81
81
// safely handle future changes.
82
82
type ActivityInboundInterceptorBase = internal.ActivityInboundInterceptorBase
83
83
@@ -87,12 +87,12 @@ type ExecuteActivityInput = internal.ExecuteActivityInput
87
87
// ActivityOutboundInterceptor is an interface for all activity calls
88
88
// originating from the SDK.
89
89
//
90
- // All implementations must embed ActivityOutboundInterceptorBase to safely
90
+ // All implementations must embed [ ActivityOutboundInterceptorBase] to safely
91
91
// handle future changes.
92
92
type ActivityOutboundInterceptor = internal.ActivityOutboundInterceptor
93
93
94
94
// ActivityOutboundInterceptorBase is a default implementation of
95
- // ActivityOutboundInterceptor that forwards calls to the next outbound
95
+ // [ ActivityOutboundInterceptor] that forwards calls to the next outbound
96
96
// interceptor.
97
97
//
98
98
// This must be embedded into all ActivityOutboundInterceptor implementations to
@@ -104,15 +104,15 @@ type ActivityOutboundInterceptorBase = internal.ActivityOutboundInterceptorBase
104
104
// workflow calls, can change the outbound interceptor in Init before the next
105
105
// call in the chain.
106
106
//
107
- // All implementations must embed WorkflowInboundInterceptorBase to safely
107
+ // All implementations must embed [ WorkflowInboundInterceptorBase] to safely
108
108
// handle future changes.
109
109
type WorkflowInboundInterceptor = internal.WorkflowInboundInterceptor
110
110
111
111
// WorkflowInboundInterceptorBase is a default implementation of
112
- // WorkflowInboundInterceptor that forwards calls to the next inbound
112
+ // [ WorkflowInboundInterceptor] that forwards calls to the next inbound
113
113
// interceptor and uses an WorkflowOutboundInterceptorBase on Init.
114
114
//
115
- // This must be embedded into all WorkflowInboundInterceptor implementations to
115
+ // This must be embedded into all [ WorkflowInboundInterceptor] implementations to
116
116
// safely handle future changes.
117
117
type WorkflowInboundInterceptorBase = internal.WorkflowInboundInterceptorBase
118
118
@@ -134,47 +134,47 @@ type UpdateInput = internal.UpdateInput
134
134
// WorkflowOutboundInterceptor is an interface for all workflow calls
135
135
// originating from the SDK.
136
136
//
137
- // All implementations must embed WorkflowOutboundInterceptorBase to safely
137
+ // All implementations must embed [ WorkflowOutboundInterceptorBase] to safely
138
138
// handle future changes.
139
139
type WorkflowOutboundInterceptor = internal.WorkflowOutboundInterceptor
140
140
141
141
// WorkflowOutboundInterceptorBase is a default implementation of
142
- // WorkflowOutboundInterceptor that forwards calls to the next outbound
142
+ // [ WorkflowOutboundInterceptor] that forwards calls to the next outbound
143
143
// interceptor.
144
144
//
145
- // This must be embedded into all WorkflowOutboundInterceptor implementations to
145
+ // This must be embedded into all [ WorkflowOutboundInterceptor] implementations to
146
146
// safely handle future changes.
147
147
type WorkflowOutboundInterceptorBase = internal.WorkflowOutboundInterceptorBase
148
148
149
- // ClientInterceptor for providing a ClientOutboundInterceptor to intercept
149
+ // ClientInterceptor for providing a [ ClientOutboundInterceptor] to intercept
150
150
// certain workflow-specific client calls from the SDK. If an implementation of
151
151
// this is provided via client or worker options, certain client calls will be
152
152
// intercepted by it.
153
153
//
154
- // All implementations must embed ClientInterceptorBase to safely handle future
154
+ // All implementations must embed [ ClientInterceptorBase] to safely handle future
155
155
// changes.
156
156
type ClientInterceptor = internal.ClientInterceptor
157
157
158
- // ClientInterceptorBase is a default implementation of ClientInterceptor that
159
- // simply instantiates ClientOutboundInterceptorBase when called to intercept
158
+ // ClientInterceptorBase is a default implementation of [ ClientInterceptor] that
159
+ // simply instantiates [ ClientOutboundInterceptorBase] when called to intercept
160
160
// the client.
161
161
//
162
- // This must be embedded into all ClientInterceptor implementations to safely
162
+ // This must be embedded into all [ ClientInterceptor] implementations to safely
163
163
// handle future changes.
164
164
type ClientInterceptorBase = internal.ClientInterceptorBase
165
165
166
166
// ClientOutboundInterceptor is an interface for certain workflow-specific calls
167
167
// originating from the SDK.
168
168
//
169
- // All implementations must embed ClientOutboundInterceptorBase to safely handle
169
+ // All implementations must embed [ ClientOutboundInterceptorBase] to safely handle
170
170
// future changes.
171
171
type ClientOutboundInterceptor = internal.ClientOutboundInterceptor
172
172
173
173
// ClientOutboundInterceptorBase is a default implementation of
174
- // ClientOutboundInterceptor that forwards calls to the next outbound
174
+ // [ ClientOutboundInterceptor] that forwards calls to the next outbound
175
175
// interceptor.
176
176
//
177
- // This must be embedded into all ActivityInboundInterceptor implementations to
177
+ // This must be embedded into all [ClientOutboundInterceptor] implementations to
178
178
// safely handle future changes.
179
179
type ClientOutboundInterceptorBase = internal.ClientOutboundInterceptorBase
180
180
0 commit comments