Skip to content

Conversation

@inamiy
Copy link
Member

@inamiy inamiy commented May 11, 2015

This pull request will improve overall performance by using Canceller to invalidate stream-pipelining one-by-one rather than stream.cancel()-ing all broadcasting pipelines at once.

Canceller works similar to Rx.Disposable.

For more information, please see ReactKit/SwiftTask#31.

Breaking Change

public func <~ <T>(reactClosure: T -> Void, stream: Stream<T>) -> Stream<T>

is now changed its returning value as:

public func <~ <T>(reactClosure: T -> Void, stream: Stream<T>) -> Canceller?

@inamiy inamiy added this to the 0.11.0 milestone May 11, 2015
inamiy added a commit that referenced this pull request May 11, 2015
Update SwiftTask to v3.1.0 & add Canceller feature.
@inamiy inamiy merged commit 49eae18 into master May 11, 2015
@inamiy inamiy deleted the feature/canceller branch May 18, 2015 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants