Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Any possibility of adding a script block parameter to respond to the Job.StateChanged event?

Đang mở
#27 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
backend

Hướng nghiên cứu

The issue names the ThreadJob object and the Job.StateChanged event, but gives no source files, tests, or implementation entry point. Start by locating where ThreadJob handles job state changes and review the PowerShell job event APIs. Done means a script block parameter can handle the listed state changes; the issue does not define its exact behavior or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary of the new feature / enhancement

I was wondering if adding the logic and parameter usage for another script block to handle the job's state change would be possible? This way, the ThreadJob object could call additional functions upon state changes (such as if blocking, stopping, failure or complete were detected).

Proposed technical implementation details (optional)

No response

Ngôn ngữ chính
PowerShell
Star
37
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PowerShell/ThreadJob

Tất cả issue của PowerShell/ThreadJob

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.