Init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Temporal\WebhookDelivery;
|
||||
|
||||
use Temporal\Activity\ActivityInterface;
|
||||
use Temporal\Activity\ActivityMethod;
|
||||
|
||||
#[ActivityInterface]
|
||||
interface WebhookDeliveryActivityInterface
|
||||
{
|
||||
#[ActivityMethod]
|
||||
public function deliverToEndpoint(string $endpoint, array $payload, array $simulationConfig = []): array;
|
||||
|
||||
#[ActivityMethod]
|
||||
public function deadLetter(string $endpoint, array $payload, string $reason): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user