{"id":14063847,"url":"https://github.com/StartAutomating/Eventful","last_synced_at":"2025-07-29T16:34:25.145Z","repository":{"id":38273997,"uuid":"423675153","full_name":"StartAutomating/Eventful","owner":"StartAutomating","description":"Easy Eventful PowerShell","archived":false,"fork":false,"pushed_at":"2023-06-13T04:04:57.000Z","size":270,"stargazers_count":35,"open_issues_count":12,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-24T07:32:26.668Z","etag":null,"topics":["events","powershell","powershell-module"],"latest_commit_sha":null,"homepage":"https://eventful.start-automating.com/","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StartAutomating.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["StartAutomating"]}},"created_at":"2021-11-02T01:55:57.000Z","updated_at":"2024-10-31T13:03:51.000Z","dependencies_parsed_at":"2024-02-07T17:05:09.445Z","dependency_job_id":"f365b2c5-eaba-4dd8-8848-4955d9757f9d","html_url":"https://github.com/StartAutomating/Eventful","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FEventful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FEventful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FEventful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StartAutomating%2FEventful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StartAutomating","download_url":"https://codeload.github.com/StartAutomating/Eventful/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228032912,"owners_count":17858913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["events","powershell","powershell-module"],"created_at":"2024-08-13T07:03:32.204Z","updated_at":"2024-12-04T02:30:33.385Z","avatar_url":"https://github.com/StartAutomating.png","language":"PowerShell","readme":"﻿\u003cdiv align='center'\u003e\n\u003cimg src='Assets/Eventful.svg' /\u003e\n\u003c/div\u003e\n\nEasy Eventful PowerShell\n----------------\n\n### Getting Started with Eventful\n\n\nEventful is a PowerShell module that helps you script asynchronously.\n\nIt gives you an easy syntax to describe events handlers in PowerShell, and provides a platform to build custom event sources.\n\nYou can watch for events to occur with Watch-Event.\nWatch-Event is aliased to \"On\".  For example:\n\n~~~PowerShell\n# Run in a second\nWatch-Event Delay \"00:00:01\" { \"In A Second!\" | Out-Host }\n\n# Or, using the alias 'On'\non delay \"00:05:00\" { \"Five more minutes!\" | Out-Host}\n~~~\n\nThese example use the built-in event source script 'Delay'.\n\nEventful gives you a way to write scripts that will produce events.  These are event sources.\n\nEventful ships with several event sources.  To see what event sources are available to you, run:\n\n~~~PowerShell\nGet-EventSource  # See event sources\n~~~\n\n\nEach event source discovered when Eventful loads creates a smart alias that makes it easier to discover parameters, for example:\n\n~~~PowerShell\n# Run in 30 seconds\nOn@Delay \"00:00:30\" { \"This Message Will Self-Destruct in 30 seconds\" | Out-Host }\n\n\n# Run at 5:00 PM\nOn@Time \"5:00 PM\" { \"End Of Day!\" | Out-Host }\n\n# Run every 2 minutes\nOn@Repeat \"00:02:00\" { \"Every other minute\" | Out-Host }\n\n# Run whenever a file changes within the current directory\nOn@FileChange { \"Files Changed:$($event.SenderEventArgs)\" | Out-Host } \n~~~\n\n\nEventful also allows you to handle an arbitrary signal.\nIn the example below, we set up a handler for \"MySignal\", and the use the alias send to Send-Event(s).\n\n~~~PowerShell\nOn MySignal {\"Fire $($event.MessageData)!\" | Out-Host }\n\n# Send-Event can accept pipeline input for MessageData, and will not output unless -PassThru is specified.\n1..3 | Send MySignal\n~~~\n\n---\n\n[Understanding Event Sources](Understanding_Event_Sources.md)\n","funding_links":["https://github.com/sponsors/StartAutomating"],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStartAutomating%2FEventful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStartAutomating%2FEventful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStartAutomating%2FEventful/lists"}