Huawei-CPLLab / Theater

Actor model framework for Swift
Apache License 2.0
5 stars 1 forks source link

Add ask() API to actor #2

Open wanghc78 opened 8 years ago

wanghc78 commented 8 years ago

AKKA actor has ask() interface to return a future for a message send. The receiver can notify the sender when it finishes processing the message.

Our API may be different to AKKA.

urugang commented 8 years ago

ask api referenced in Swactor func ask<T:Request>(msg:T) -> Future<T.Result>