yao/agent/robot/pool
Max 387e254f44 Add Execution Completion Callback to Worker Pool
- Introduced an `OnCompleteCallback` type and updated the `Pool` struct to include an optional callback for execution completion.
- Implemented `SetOnComplete` method to allow setting the completion callback.
- Enhanced worker execution logic to notify the completion callback with the execution status (success, failure, or cancellation) after each execution, improving tracking and management of execution states.
2026-01-28 19:35:38 +08:00
..
goroutine_test.go Refactor Executor Architecture and Update Documentation 2026-01-16 15:27:46 +08:00
pool.go Add Execution Completion Callback to Worker Pool 2026-01-28 19:35:38 +08:00
pool_test.go Refactor Executor Architecture and Update Documentation 2026-01-16 15:27:46 +08:00
queue.go Enhance Execution Control and Error Handling in Robot Manager 2026-01-28 19:10:01 +08:00
queue_test.go Enhance Robot Pool and Executor Implementations 2026-01-14 20:30:27 +08:00
worker.go Add Execution Completion Callback to Worker Pool 2026-01-28 19:35:38 +08:00
worker_test.go Refactor Executor Architecture and Update Documentation 2026-01-16 15:27:46 +08:00