"delay" handler for definitions with async calls

"delay" handler registered at line 590
check function edited to support "delayed" definitions at line 836