inline window.setTimeout / deferred method chaining