accept `url` as function or deferred function`
Merge pull request #8 from CtrlLA/feature/safe-async

accept `url` as function or deferred function`