core/API.js
function (args, result, func, extra) {
		return new SR.promise(function (resolve, reject) {
			UTIL.safeCall(func, args, result, function () {
				UTIL.safeCall(resolve);
			}, extra);
		});
	}
function (args, result, func, extra) {
		return new SR.promise(function (resolve, reject) {
			UTIL.safeCall(func, args, result, function () {
				UTIL.safeCall(resolve);
			}, extra);
		});
	}
function ( args , result , func , extra ) { return new SR . promise ( function ( resolve , reject ) { UTIL . safeCall ( func , args , result , function ( ) { UTIL . safeCall ( resolve ) ; } , extra ) ; } ) ; }
define post-event action
define post - event action