mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-21 21:13:22 +00:00
Compare commits
2 Commits
4596159b8f
...
e4833bdba9
Author | SHA1 | Date | |
---|---|---|---|
|
e4833bdba9 | ||
|
63061e3a52 |
@ -30,6 +30,6 @@ func (b *Bait) throw(name string, args ...interface{}) {
|
||||
b.Em.Emit(name, args...)
|
||||
}
|
||||
|
||||
func (b *Bait) catch(name string, catcher func(interface{})) {
|
||||
func (b *Bait) catch(name string, catcher func(...interface{})) {
|
||||
b.Em.On(name, catcher)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user