Skip to content

Commit a451bef

Browse files
authored
Remove experimental notes from poller behavior docs (#2096)
1 parent 4b5d758 commit a451bef

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

internal/worker.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,13 @@ type (
3030

3131
// PollerBehavior is used to configure the behavior of the poller.
3232
//
33-
// NOTE: Experimental
34-
//
3533
// Exposed as: [go.temporal.io/sdk/worker.PollerBehavior]
3634
PollerBehavior interface {
3735
isPollerBehavior()
3836
}
3937

4038
// PollerBehaviorAutoscalingOptions is the options for NewPollerBehaviorAutoscaling.
4139
//
42-
// NOTE: Experimental
43-
//
4440
// Exposed as: [go.temporal.io/sdk/worker.PollerBehaviorAutoscalingOptions]
4541
PollerBehaviorAutoscalingOptions struct {
4642
// InitialNumberOfPollers is the initial number of pollers to start.
@@ -61,8 +57,6 @@ type (
6157

6258
// PollerBehaviorSimpleMaximumOptions is the options for NewPollerBehaviorSimpleMaximum.
6359
//
64-
// NOTE: Experimental
65-
//
6660
// Exposed as: [go.temporal.io/sdk/worker.PollerBehaviorSimpleMaximumOptions]
6761
PollerBehaviorSimpleMaximumOptions struct {
6862
// MaximumNumberOfPollers is the maximum number of pollers the worker is allowed
@@ -479,8 +473,6 @@ func (p *pollerBehaviorAutoscaling) isPollerBehavior() {
479473

480474
// NewPollerBehaviorSimpleMaximum creates a PollerBehavior that allows the worker to start up to a maximum number of pollers.
481475
//
482-
// NOTE: Experimental
483-
//
484476
// Exposed as: [go.temporal.io/sdk/worker.NewPollerBehaviorSimpleMaximum]
485477
func NewPollerBehaviorSimpleMaximum(
486478
options PollerBehaviorSimpleMaximumOptions,
@@ -496,8 +488,6 @@ func NewPollerBehaviorSimpleMaximum(
496488
// NewPollerBehaviorAutoscaling creates a PollerBehavior that allows the worker to scale the number of pollers within a given range.
497489
// based on the workflow and feedback from the server.
498490
//
499-
// NOTE: Experimental
500-
//
501491
// Exposed as: [go.temporal.io/sdk/worker.NewPollerBehaviorAutoscaling]
502492
func NewPollerBehaviorAutoscaling(
503493
options PollerBehaviorAutoscalingOptions,

worker/worker.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,18 +216,12 @@ type (
216216
Options = internal.WorkerOptions
217217

218218
// PollerBehavior is used to configure the behavior of the poller.
219-
//
220-
// NOTE: Experimental
221219
PollerBehavior = internal.PollerBehavior
222220

223221
// PollerBehaviorAutoscalingOptions is the options for NewPollerBehaviorAutoscaling.
224-
//
225-
// NOTE: Experimental
226222
PollerBehaviorAutoscalingOptions = internal.PollerBehaviorAutoscalingOptions
227223

228224
// PollerBehaviorSimpleMaximumOptions is the options for NewPollerBehaviorSimpleMaximum.
229-
//
230-
// NOTE: Experimental
231225
PollerBehaviorSimpleMaximumOptions = internal.PollerBehaviorSimpleMaximumOptions
232226

233227
// WorkflowPanicPolicy is used for configuring how worker deals with workflow
@@ -325,8 +319,6 @@ func InterruptCh() <-chan interface{} {
325319
}
326320

327321
// NewPollerBehaviorSimpleMaximum creates a PollerBehavior that allows the worker to start up to a maximum number of pollers.
328-
//
329-
// NOTE: Experimental
330322
func NewPollerBehaviorSimpleMaximum(
331323
options PollerBehaviorSimpleMaximumOptions,
332324
) PollerBehavior {
@@ -335,8 +327,6 @@ func NewPollerBehaviorSimpleMaximum(
335327

336328
// NewPollerBehaviorAutoscaling creates a PollerBehavior that allows the worker to scale the number of pollers within a given range.
337329
// based on the workflow and feedback from the server.
338-
//
339-
// NOTE: Experimental
340330
func NewPollerBehaviorAutoscaling(
341331
options PollerBehaviorAutoscalingOptions,
342332
) PollerBehavior {

0 commit comments

Comments
 (0)