Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alitto/pond
/ functions
Functions
262 in github.com/alitto/pond
⨍
Functions
262
◇
Types & classes
30
Function
TestResultTaskGroupWait
(t *testing.T)
group_test.go:14
Function
TestResultTaskGroupWaitWithContextCanceledAndOngoingTasks
(t *testing.T)
group_test.go:131
Function
TestResultTaskGroupWaitWithError
(t *testing.T)
group_test.go:38
Function
TestResultTaskGroupWaitWithErrorInLastTask
(t *testing.T)
group_test.go:70
Function
TestResultTaskGroupWaitWithMultipleErrors
(t *testing.T)
group_test.go:95
Function
TestStopAndWaitWithGoexit
TestStopAndWaitWithGoexit reproduces issue #135: StopAndWait() blocks indefinitely when runtime.Goexit() is called inside a task. This commonly occurs
pool_test.go:741
Function
TestSubmit
(t *testing.T)
default_test.go:12
Function
TestSubmitWithError
(t *testing.T)
default_test.go:25
Function
TestSubmitWithPanic
(t *testing.T)
default_test.go:36
Function
TestSubpool
(t *testing.T)
subpool_test.go:14
Function
TestSubpoolMaxConcurrency
(t *testing.T)
subpool_test.go:159
Function
TestSubpoolMetrics
(t *testing.T)
subpool_test.go:86
Function
TestSubpoolResize
(t *testing.T)
subpool_test.go:398
Function
TestSubpoolStop
(t *testing.T)
subpool_test.go:130
Function
TestSubpoolStopAndWait
(t *testing.T)
subpool_test.go:65
Function
TestSubpoolStopAndWaitShouldNotDeadlockWhenContextCanceledWithQueuedTasks
(t *testing.T)
subpool_test.go:195
Function
TestSubpoolStoppedAfterCancel
(t *testing.T)
subpool_test.go:175
Function
TestSubpoolWithDifferentLimits
(t *testing.T)
subpool_test.go:253
Function
TestSubpoolWithOverlappingConcurrency
(t *testing.T)
subpool_test.go:326
Function
TestSubpoolWithQueueSizeOverride
(t *testing.T)
subpool_test.go:361
Function
TestTaskGroupCanceledShouldSkipRemainingTasks
(t *testing.T)
group_test.go:283
Function
TestTaskGroupContext
(t *testing.T)
group_test.go:470
Function
TestTaskGroupDone
(t *testing.T)
group_test.go:363
Function
TestTaskGroupMetrics
(t *testing.T)
group_test.go:382
Function
TestTaskGroupMetricsWithCancelledContext
(t *testing.T)
group_test.go:410
Function
TestTaskGroupStop
(t *testing.T)
group_test.go:338
Function
TestTaskGroupWaitShouldNotDeadlockWhenPoolContextCanceledWithQueuedTasks
(t *testing.T)
group_test.go:183
Function
TestTaskGroupWaitWithContextCanceledAndOngoingTasks
(t *testing.T)
group_test.go:157
Function
TestTaskGroupWaitingTasks
(t *testing.T)
group_test.go:438
Function
TestTaskGroupWithContextCanceled
(t *testing.T)
group_test.go:238
Function
TestTaskGroupWithCustomContext
(t *testing.T)
group_test.go:311
Function
TestTaskGroupWithNoTasks
(t *testing.T)
group_test.go:267
Function
TestTaskGroupWithStoppedPool
(t *testing.T)
group_test.go:227
Function
TestTaskInvokesGoexitAndPoolRecovers
TestTaskInvokesGoexitAndRecover
pool_test.go:764
Function
TestValueFutureDone
(t *testing.T)
internal/future/value_test.go:58
Function
TestValueFutureResolutionError
(t *testing.T)
internal/future/value_test.go:77
Function
TestValueFutureWait
(t *testing.T)
internal/future/value_test.go:12
Function
TestValueFutureWaitWithCanceledContext
(t *testing.T)
internal/future/value_test.go:42
Function
TestValueFutureWaitWithError
(t *testing.T)
internal/future/value_test.go:26
Method
TrySubmit
(task func() R)
result.go:69
Method
TrySubmit
(task func())
pool.go:329
Method
TrySubmitErr
(task func() (R, error))
result.go:73
Method
TrySubmitErr
(task func() error)
pool.go:333
Method
Wait
Waits for all tasks in the group to complete and returns the results of each task in the order they were submitted. If any of the tasks return an erro
group.go:61
Method
Wait
()
group.go:165
Method
Wait
()
group.go:187
Method
Wait
Wait waits for the task to complete and returns the result and any error that occurred.
future.go:20
Method
Wait
Wait waits for the task to complete and returns the result and any error that occurred.
future.go:33
Method
Wait
Get waits for the future to complete and returns the output and any error that occurred.
internal/future/value.go:35
Method
Wait
(count int)
internal/future/composite.go:88
Method
WaitingTasks
()
pool.go:219
Method
Write
Write writes values to the buffer
internal/linkedbuffer/linkedbuffer.go:35
Function
main
()
examples/prometheus/main.go:13
Function
main
()
examples/task_group_context/main.go:11
Function
main
()
examples/task_done/main.go:11
Function
main
Pressing Ctrl+C while this program is running will cause the program to terminate gracefully. Tasks being processed will continue until they finish, b
examples/pool_context/main.go:15
Function
main
()
examples/result_task/main.go:11
Function
main
()
examples/task_group/main.go:42
Function
newBuffer
(capacity int)
internal/linkedbuffer/buffer.go:20
Function
newResultPool
(maxConcurrency int, parent *pool, options ...Option)
result.go:102
Function
newResultTaskGroup
(pool *pool, ctx context.Context)
group.go:217
Method
resolve
(index int, value V, err error)
internal/future/composite.go:117
← previous
201–262 of 262, ranked by callers