Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3746] Standardize Ti.Stream asynch callback responses

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-16T11:56:01.000+0000
Affected Version/sSprint 2011-17
Fix Version/sRelease 1.7.0, Sprint 2011-17
ComponentsiOS
Labelsti.stream
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-26T13:49:36.000+0000
Updated2011-05-16T11:56:01.000+0000

Description

Need to standardize the results of Ti.Stream callback responses. In particular: - errorDescription should be an empty string if there is no error - errorState is a Number - errorState should be 0 if there is no error Error codes are to be standardized at some point.

Comments

  1. Stephen Tramer 2011-04-27

    Resolved by 3e7e251.
  2. Jacob Relkin 2011-05-16

    Existing tests in Drillbit pass: asyncRead covers the required sanity checks in the Ti.Stream.read callback function.

JSON Source