Ian Griffiths
|
d772cff00c
Implement optional swallowing of post-unsubscribe exceptions from tasks
|
2 年之前 |
Bart De Smet
|
c33e985dca
Enable #nullable in scheduler code.
|
5 年之前 |
Bart De Smet
|
66585c3ea5
Fix approvals.
|
5 年之前 |
Bart De Smet
|
84015bd5a7
Nullable for TaskObservableExtensions.
|
5 年之前 |
Bart De Smet
|
79d66b9600
First step to enable nullable in Rx.
|
5 年之前 |
Bart De Smet
|
37890db79d
First pass over a subset of the code.
|
5 年之前 |
Bart De Smet
|
1bb1fcfd0e
Non-empty stack traces for operator exceptions.
|
5 年之前 |
Bart J.F. De Smet
|
230f34850d
Merge branch 'master' into dev/bartde/remove_ifdefs
|
5 年之前 |
Bart De Smet
|
2d34eacea4
Reduce #if checks.
|
5 年之前 |
Bart De Smet
|
e592c18176
Modernize some code.
|
5 年之前 |
Claire Novotny
|
f1b5e96157
Update to MIT license
|
5 年之前 |
akarnokd
|
2adfa263e4
Update docs to indicate null scheduler is not accepted either
|
5 年之前 |
akarnokd
|
cc1fe0cebf
Add ToTask overloads with IScheduler
|
5 年之前 |
Daniel Weber
|
81ad48ec76
Use ContinueWithState in two other places to save an allocation.
|
7 年之前 |
Daniel C. Weber
|
0bf8cffdae
Merge pull request #766 from danielcweber/AvoidLeakingTaskContinuations
|
7 年之前 |
Daniel Weber
|
bdcdf8ad59
Cleanup.
|
7 年之前 |
Daniel Weber
|
26cbadf62c
Avoid continuation leaks in TaskObservableExtensions.ToObservable. This is a bit more involved. The continuation must not be registered before a subscription happens because it might leak on long lived tasks. So instead of registering a continuation on a task once and forwarding the results to an AsyncSubject, we construct an Observable that registers the continuation for each subscription. Memory performance might of course go down if a lot of subscriptions happen on a task, but it won't leak.
|
7 年之前 |
Daniel Weber
|
9c708d3b34
Fix in TaskObservableExtensions.Subscribe: According to https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs#L3611, the default-TaskScheduler is not TaskScheduler.Default but TaskScheduler.Current.
|
7 年之前 |
Daniel Weber
|
28f51f673b
Simplify ToObservableImpl, that also makes it provable that we never return null.
|
7 年之前 |
Daniel Weber
|
085e9e7c0b
Make ToObservableResult an extension method.
|
7 年之前 |
Daniel Weber
|
ad703e9360
Make EmitTaskResult an extension method.
|
7 年之前 |
Daniel Weber
|
2479b9a6ba
Rename ToObservableDone to EmitTaskResult because ToObservableDone is simply not what it's doing...
|
7 年之前 |
Daniel Weber
|
ca73625096
Inline ToObservableSlow, closures are not an issue anymore.
|
7 年之前 |
Daniel Weber
|
438cd71e4a
Internal shortcut for Task.ToObservable().Subscribe(...). This avoids the allocation of an AsyncSubject.
|
7 年之前 |
Daniel Weber
|
e6e0f95780
Save the allocation of a closure and allow delegate caching in ToObservableSlow.
|
7 年之前 |
Daniel Weber
|
331ad59db7
Remove code redundancies as suggested by ReSharper.
|
7 年之前 |
Daniel Weber
|
903a5027e0
Remove redundant field initializers.
|
7 年之前 |
Oren Novotny
|
03202e0418
Code clean up based on editorconfig
|
7 年之前 |
Daniel C. Weber
|
e0aec89bd4
Save some allocations in ToTaskObserver. (#643)
|
7 年之前 |
Bart De Smet
|
f74384b36f
Cleanup of TaskObservableExtensions.
|
8 年之前 |