Convenience function for listening to either one or the other callback exactly once
Primary LanguageJavaScript