Пример #1
0
        public static T WaitForMessage <T>(this IMessagingHub hub, Action action, int wait = 5000)
        {
            Func <T, bool> filter = x => true;

            return(hub.WaitForMessage(filter, action, wait));
        }
Пример #2
0
 public T WaitForMessage <T>(Func <T, bool> filter, Action action, int wait = 5000)
 {
     return(_messagingHub.WaitForMessage(filter, action, wait));
 }