Exemplo n.º 1
0
func (i *Import) CallAll(function string, parameter interface{}, s *eventual2go.StreamController) {
	i.logger.Println("CallAll", function)
	req := i.newRequest(function, parameter, messages.ONE2MANY)
	s.Join(i.results.Where(isRes(req.UUID)))
	i.Deliver(req)
	return
}
Exemplo n.º 2
0
func (i *Import) CallAll(function string, parameter []byte, s *eventual2go.StreamController) {
	i.logger.Println("CallAll", function)
	uuid := i.call(function, parameter, messages.ONE2MANY)
	s.Join(i.results.Where(isRes(uuid)))
	return
}