[DVCSMP-1979] Use async http for polling and refresh tokens.

This commit is contained in:
Jim Anderson
2016-08-31 09:55:24 -05:00
parent 315918dc6f
commit 826993cc45
3 changed files with 227 additions and 110 deletions

View File

@@ -67,6 +67,6 @@ def refresh() {
void poll() {
log.debug "Executing 'poll' using parent SmartApp"
parent.pollChild()
parent.poll()
}

View File

@@ -133,7 +133,7 @@ def refresh() {
void poll() {
log.debug "Executing 'poll' using parent SmartApp"
parent.pollChild()
parent.poll()
}
def generateEvent(Map results) {