Init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Temporal\WebhookDelivery;
|
||||
|
||||
use Temporal\Workflow\WorkflowInterface;
|
||||
use Temporal\Workflow\WorkflowMethod;
|
||||
use Temporal\Workflow\QueryMethod;
|
||||
|
||||
#[WorkflowInterface]
|
||||
interface WebhookDeliveryWorkflowInterface
|
||||
{
|
||||
#[WorkflowMethod]
|
||||
public function deliver(array $payload, array $endpoints, array $simulationConfig = []);
|
||||
|
||||
#[QueryMethod]
|
||||
public function getDeliveryStatus(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user