grumpydev / tinymessenger Goto Github PK
View Code? Open in Web Editor NEWA lightweight event aggregator/messenger for loosely coupled communication.
License: Microsoft Public License
A lightweight event aggregator/messenger for loosely coupled communication.
License: Microsoft Public License
Hi. I occasionally see an issue (using TinyMessenger in Xamarin.Android) where I'll publish a message, but the message won't arrive at its subscriber for 30 seconds -- sometimes longer. Any thoughts on why this might be happening? I ask because I'm publishing a message and expecting a UI element to appear when the subscriber Action executes.
Again, this only happens occasionally. Usually, I publish and the subscriber Action executes almost immediately.
Hi, we have an private async method in ViewModel that is called as callback of subscribe.
However when I wrote integration tests asserts are called before message is processed. In normal scenario I'd await that method but can't do it when using Messages.
Is there a nice way to write such test.
When using Portable Class library (PCL), some features are not available On line 747, you have
currentlySubscribed.ForEach(sub => currentSubscriptions.Remove(sub));
Which does not exists in PCL.
You have to use:
foreach (var sub in currentlySubscribed) currentSubscriptions.Remove(sub);
Greetings,
Hugo
If have to choose a message hub, I'd choose your. 'Cause I like libs that can be dropped in a project 'dragging' a .cs file.
Excellent work!
First of allo THIS IS NOT AN ISSUE!
I'd like a goog article that illustrates how to use TinyMessenger to decouple business logic from UI.... (A general article on the argument will be goof the same).
Regards, Giacomo
Appreciate if there is any example for that. Thanks.
Dont suppose theres hope of getting a version of this that will run in netcore apps. Didnt seem like there were a ton of changes to be made, just not sure if/how the reflection stuff could be remedied.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.