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
I dont understand why method Subscribe not working. Example: This code
var response = await amiClient.Where(message => message["Event"] == "Newstate").FirstAsync(); foreach (var item in response) { Console.WriteLine(item.Key + ":" + item.Value); }
work good, but this:
var subscription = ami.Where(message => message["Event"] == "Newstate") .Subscribe(response => { if (response != null) { foreach (var item in response) { Console.WriteLine(item.Key + ":" + item.Value); } } });
not work. I wait that this code wait all events "Newstate" and write to console. What am I doing wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I dont understand why method Subscribe not working. Example:
This code
work good, but this:
not work.
I wait that this code wait all events "Newstate" and write to console. What am I doing wrong?
The text was updated successfully, but these errors were encountered: