Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added receiveRecover for persistence #32

Merged
merged 1 commit into from
Dec 15, 2024
Merged

Conversation

ytake
Copy link
Owner

@ytake ytake commented Dec 15, 2024

Added receiveRecover method

class PersistenceActor implements ActorSystem\Message\ActorInterface, PersistentInterface 
{
    use Mixin;

    public function receive(ActorSystem\Context\ContextInterface $context): void
    {
        // receive all message
    }

    public function receiveRecover(mixed $message): void
    {
        // recovering message
    }
}

@ytake ytake merged commit 818d17d into main Dec 15, 2024
0 of 2 checks passed
@ytake ytake deleted the feature/added-receive-recover branch December 15, 2024 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant