mdomrach
(mdomrach)
2
Found answer in another post! Array of funcs should cover multicast delegate events as like
my_subscribable := class:
var Funs<private>:[]my_fun = array{}
Subscribe<public>(Fun:my_fun):void =
set Funs += array{Fun}
Dispatch<private>():void =
for (Fun:Funs):
Fun("Hello")
3 Likes