Assigns transaction event subscriptions. Available events are:
*
* - start
* - Fires when a request is sent to a resource.
* - complete
* - Fires when the transaction is complete.
* - success
* - Fires when the HTTP response status is within the 2xx
* range.
* - failure
* - Fires when the HTTP response status is outside the 2xx
* range, if an exception occurs, if the transation is aborted,
* or if the transaction exceeds a configured `timeout`.
* - end
* - Fires at the conclusion of the transaction
* lifecycle, after `success` or `failure`.
*
*
* Callback functions for `start` and `end` receive the id of the
* transaction as a first argument. For `complete`, `success`, and
* `failure`, callbacks receive the id and the response object
* (usually the XMLHttpRequest instance). If the `arguments`
* property was included in the configuration object passed to
* `Y.io()`, the configured data will be passed to all callbacks as
* the last argument.
*
*
*