abstract class Movie::Ask::LocalResponseRefBase

Overview

A one-shot, unregistered response endpoint for local asks.

Unlike the legacy listener behavior, this ref does not own a mailbox or consume an actor-system ID. Promise completion is the synchronization point: only the first reply, timeout, or termination signal wins.

Direct Known Subclasses

Defined in:

movie/ask.cr

Instance Method Summary

Instance methods inherited from class Movie::ActorRefBase

id : Int32 id, path : ActorPath | Nil path, path=(path : ActorPath | Nil) path=, remote_peer_address : Address | Nil remote_peer_address, remote_peer_node_uid : String | Nil remote_peer_node_uid, send_system(message : SystemMessage) send_system

Constructor methods inherited from class Movie::ActorRefBase

new(id : Int32, path : ActorPath | Nil = nil) new

Instance Method Detail

abstract def receive_cancelled : Nil #

[View source]
abstract def receive_failure(error : Exception) : Nil #

[View source]
abstract def receive_serializable(value : JSON::Serializable) : Nil #

[View source]