INNER CODE UNIT · Go

mcallResults

moleculer-go/moleculer · broker/broker_internals_test.go:502

			mcallResults := <-bkr2.MCall(mParams)
			Expect(hasKey(mcallResults, "music-start")).Should(BeTrue())
			Expect(hasKey(mcallResults, "music-end")).Should(BeTrue())
			Expect(hasKey(mcallResults, "food-dinner")).Should(BeTrue())
			Expect(hasKey(mcallResults, "food-lunch")).Should(BeTrue())

			mcallResults = <-bkr1.MCall(mParams)
			Expect(hasKey(mcallResults, "music-start")).Should(BeTrue())
			Expect(hasKey(mcallResults, "music-end")).Should(BeTrue())
			Expect(hasKey(mcallResults, "food-dinner")).Should(BeTrue())
			Expect(hasKey(mcallResults, "food-lunch")).Should(BeTrue())

			bkr1.Stop()
			bkr2.Stop()
		})

		// }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…