js/clients/SparkCore.js
function(msg) {
        //got a description, is it any good?
        var loaded = (this.loadFnState(msg.getPayload()));

        if (this._describeDfd) {
            if (loaded) {
                this._describeDfd.resolve();
            }
            else {
                this._describeDfd.reject("something went wrong parsing function state")
            }
        }
        //else { //hmm, unsolicited response, that's okay. }
    }
function(msg) {
        //got a description, is it any good?
        var loaded = (this.loadFnState(msg.getPayload()));

        if (this._describeDfd) {
            if (loaded) {
                this._describeDfd.resolve();
            }
            else {
                this._describeDfd.reject("something went wrong parsing function state")
            }
        }
        //else { //hmm, unsolicited response, that's okay. }
    }
function ( msg ) { //got a description, is it any good? var loaded = ( this . loadFnState ( msg . getPayload ( ) ) ) ; if ( this . _describeDfd ) { if ( loaded ) { this . _describeDfd . resolve ( ) ; } else { this . _describeDfd . reject ( "something went wrong parsing function state" ) } } //else { //hmm, unsolicited response, that's okay. } }
On any describe return back from the core
@param msg
On any describe return back from the core