We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue similar to #42 but when actor is asked.
Can be reproduced with:
using System.Reactive.Disposables; var actor2 = spawn<BooleanDisposable, long>("actor2", () => new BooleanDisposable(), (state, msg) => { using (observeUnsafe<Unit>(Self).Subscribe(_ => { }, () => { Console.WriteLine("subject completed in actor2"); })) { Console.WriteLine($"actor2: Processing msg: {msg}, state.IsDisposed={state.IsDisposed}"); Task.Delay(5 * seconds).Wait(); reply("Answer from actor2"); Console.WriteLine($"actor2: Answered and finished processing msg: {msg}, state.IsDisposed={state.IsDisposed}"); } return state; }); //ASK Observable.Timer(1 * seconds).Subscribe(_ => { Console.WriteLine($"Telling actor2 msg: {_}"); var answer = ask<string>(actor2, _); Console.WriteLine($"Answer from actor2: {answer}"); }); Observable.Timer(2 * seconds).Subscribe(_ => { Console.WriteLine("Killing actor2..."); kill(actor2); Console.WriteLine("Killed actor2..."); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue similar to #42 but when actor is asked.
Can be reproduced with:
The text was updated successfully, but these errors were encountered: