(topic string, args ...interface{})
| 211 | } |
| 212 | |
| 213 | func (bus *ChainBus) setUpPublish(topic string, args ...interface{}) []reflect.Value { |
| 214 | |
| 215 | passedArguments := make([]reflect.Value, 0) |
| 216 | for _, arg := range args { |
| 217 | passedArguments = append(passedArguments, reflect.ValueOf(arg)) |
| 218 | } |
| 219 | return passedArguments |
| 220 | } |
| 221 | |
| 222 | // WaitAsync waits for all async callbacks to complete. |
| 223 | func (bus *ChainBus) WaitAsync() { |