mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-05 09:12:04 +00:00
review
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Package pseudo contains virtual events, that are not stored in the eventstore.
|
||||
package pseudo
|
||||
|
||||
import (
|
||||
@@ -20,6 +21,8 @@ type ScheduledEvent struct {
|
||||
InstanceIDs []string `json:"-"`
|
||||
}
|
||||
|
||||
// NewScheduledEvent returns an event that can be processed by event handlers like any other event.
|
||||
// It receives the current timestamp and an ID list of instances that are active and should be processed.
|
||||
func NewScheduledEvent(
|
||||
ctx context.Context,
|
||||
timestamp time.Time,
|
||||
|
||||
Reference in New Issue
Block a user