ActorEventPublisher<TActorEvents> Interface

Type Parameters

TActorEvents

Actor event interface type derived from ActorEvents.

public interface ActorEventPublisher

Represents publisher of actor events. Publishers of actor events must implement this interface

Method Summary

Modifier and Type Method and Description
default CompletableFuture<?> subscribeAsync(ActorEvents subscriber)
default CompletableFuture<?> unsubscribeAsync(ActorEvents subscriber)

Method Details

subscribeAsync

public default CompletableFuture subscribeAsync(ActorEvents subscriber)

Parameters:

subscriber

unsubscribeAsync

public default CompletableFuture unsubscribeAsync(ActorEvents subscriber)

Parameters:

subscriber

Applies to