Created
February 6, 2014 16:07
-
-
Save oroce/8847211 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// default behaviour is statsdClient.set | |
godot.reactor() | |
.statsd() | |
// this will emit statsdClient.timer | |
godot.reactor() | |
.tagged( 'timer' ) | |
.statsd({ type: 'timer' }) | |
// this will emit statsdClient.inc or stasdClient.decr | |
godot.reactor() | |
.tagged( 'inc', 'decr' ) | |
.statsd({ type: 'incdecr' }) | |
// this will emit statsdClient.gauge | |
godot.reactor() | |
.tagged( 'gauge' ) | |
.statsd({ type: 'gauge' }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment