go-trigger icon indicating copy to clipboard operation
go-trigger copied to clipboard

Multiple functions per event

Open lkarlslund opened this issue 8 years ago • 4 comments

I forked your project, and added multiple functions per event. Also I introduced interfaces for Event and Function, which improves speed and adds functionality.

The only breaking change is that calling Fire(...) now returns [][]reflect.Value() instead of []reflect.Value()

Also the return channel is closed after functions complete.

I suggest you look at it at https://github.com/lkarlslund/go-trigger and give feedback.

lkarlslund avatar Jun 08 '17 11:06 lkarlslund

This looks okay. would you mind update docs, adding some tests and sending a PR and lets have a review.

sadlil avatar Jun 20 '17 04:06 sadlil

This has been a while, any update on this?

Should I just use the fork?

pauldotknopf avatar Feb 24 '18 16:02 pauldotknopf

@lkarlslund do like to send over a PR? i can also contribute some on it.

sadlil avatar Feb 26 '18 03:02 sadlil

Sorry, I've not maintained my external version of the package for a while. The one I'm using internally is not release ready.

lkarlslund avatar Mar 01 '18 12:03 lkarlslund