BlainHamon/titanium_mobile — comment on commit 03ff19378ad06c7a39a2b9d59872e9001456b2f3
File: iphone/Classes/TiBase.m line 265
By sptramer:

This still violates the meaning of `timeout`. Either the behavior needs to be changed, or the property needs to be renamed. Even the documentation for this method is conflicting and confusing: It gives equal weight to all of the halting conditions (empty, timeout, continuation) and then goes on to describe how one of them takes precedence in a way that is not standard or even desirable. The block condition should allow for _early_ exits but not control _all_ exits. This is in line with both the meaning of `timeout` and the way in which iOS SDK methods take a continuation block.