Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

added receiveRecover for persistence#32

Merged
ytake merged 1 commit intomainfrom
feature/added-receive-recover
Dec 15, 2024
Merged

added receiveRecover for persistence#32
ytake merged 1 commit intomainfrom
feature/added-receive-recover

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
@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.

1 participant