Skip to content

watchTermination must have async closure version #930

@ktoso

Description

@ktoso
    @discardableResult
    public func watchTermination<Watchee>(
        of watchee: Watchee,
        @_inheritActorContext @_implicitSelfCapture whenTerminated: @escaping @Sendable (ID) -> Void,
        file: String = #file, line: UInt = #line
    ) -> Watchee where Watchee: DistributedActor, Watchee.ActorSystem == ClusterSystem {

this must be usable with an async whenTerminated

Metadata

Metadata

Assignees

Labels

1 - triagedTicket makes sense and is well defined, ready to be worked on2 - pick nextIf looking for work, pick this ticket :-)size/SSmall task. (A couple of hours of work.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions