Signal() public method

public Signal ( string eventKey ) : Task
eventKey string
return Task
Exemplo n.º 1
0
 private Task SendMessage(string message, object value)
 {
     return(_store.Save(message, value)
            .Success(_ => _signaler.Signal(message))
            .Unwrap()
            .Catch());
 }
Exemplo n.º 2
0
 private Task SendMessage(string key, object value)
 {
     return(_store.Save(key, value)
            .Then(k => _signaler.Signal(k), key)
            .FastUnwrap()
            .Catch());
 }