Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#27 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
powershell
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
PowerShell
Stelle
37
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PowerShell/ThreadJob

Tutte le issue di PowerShell/ThreadJob

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.