Add "core" automation integration & implement wait action
The "core" integration will provide triggers, actions, and subjects that are not specific to any 3rd party integration. [MAILPOET-4136]
This commit is contained in:
@ -12,4 +12,8 @@ class ActionScheduler {
|
||||
public function schedule(int $timestamp, string $hook, array $args = []): int {
|
||||
return as_schedule_single_action($timestamp, $hook, $args, self::GROUP_ID);
|
||||
}
|
||||
|
||||
public function hasScheduledAction(string $hook, array $args = []): bool {
|
||||
return as_has_scheduled_action($hook, $args, self::GROUP_ID);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user