Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substantial cleanup, better cancellation handling #2

Merged
merged 81 commits into from
May 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
28fd3b7
Creating base Publisher
rvsrvs Mar 16, 2022
3a26092
Checkpoint
rvsrvs Mar 20, 2022
e06bc35
Initial zip checkin
rvsrvs Mar 22, 2022
cab645c
Adding Effect, Empty and Subject placeholders
rvsrvs Apr 12, 2022
527d532
Checkpointing
rvsrvs Apr 16, 2022
f3d5ca9
Checkpointing
rvsrvs Apr 17, 2022
fbfdffd
checkpointing
rvsrvs Apr 20, 2022
e38266c
Checkpointing
rvsrvs Apr 21, 2022
cc787ee
Checkpointing
rvsrvs Apr 22, 2022
6b8a6dd
Checkpoing
rvsrvs Apr 23, 2022
1229252
checkpoint
rvsrvs Apr 23, 2022
b9fa147
Time to move on to Subject
rvsrvs Apr 23, 2022
16d5ff0
renaming. pausing on zip for now
rvsrvs Apr 24, 2022
bfa2597
checkpointing
rvsrvs Apr 28, 2022
90727c1
checkpointing
rvsrvs Apr 30, 2022
8bc42ce
checkpointing
rvsrvs May 1, 2022
bcaf073
Major cleanup
rvsrvs May 1, 2022
742bf28
Checkpointing
rvsrvs May 4, 2022
8060ee8
Leaving zip for a while now.
rvsrvs May 5, 2022
54565ad
Add state task note
rvsrvs May 5, 2022
fea4457
reorganizing
rvsrvs May 8, 2022
6b52ab9
Subject update
rvsrvs May 11, 2022
285f970
Adding Subjects
rvsrvs May 11, 2022
794972c
checkpoint
rvsrvs May 11, 2022
bff005a
Checkpointing redone expectations
rvsrvs May 12, 2022
a7e1083
working tests, revamped expectations
rvsrvs May 12, 2022
15b2a89
Adding subject send
rvsrvs May 13, 2022
624ef0c
Adding subject (but not working yet)
rvsrvs May 14, 2022
a10bb8c
Fix Semaphore, fix send, fix continuation types
rvsrvs May 15, 2022
ad4b746
Gradually adding Subject
rvsrvs May 15, 2022
8ce549f
Working subject tests
rvsrvs May 15, 2022
a9526fc
Checkpointing
rvsrvs May 15, 2022
c91dfdc
More cleanup
rvsrvs May 15, 2022
ce9ef70
Add sequence publisher, add try map, add some tests
rvsrvs May 15, 2022
4e9a825
Sort of working cancellation tests
rvsrvs May 15, 2022
6b4fbef
Working but I don’t like it.
rvsrvs May 15, 2022
a33bc45
Cleanup
rvsrvs May 16, 2022
9f6f234
Checkpointing
rvsrvs May 16, 2022
6c680fe
Checkpoint
rvsrvs May 16, 2022
14244f5
Checkpointing
rvsrvs May 17, 2022
5e8ba11
rethinking StateTask termination
rvsrvs May 18, 2022
3c11c88
Checkpointing
rvsrvs May 18, 2022
052f3bb
checkpointing
rvsrvs May 18, 2022
abb1e7d
Checkpointing
rvsrvs May 18, 2022
4ef6255
Checkpointing
rvsrvs May 18, 2022
07a1ea6
Checkpointing
rvsrvs May 19, 2022
ae0cc7b
Add several reducers and a bunch of zip funcs (up to 8)
rvsrvs May 19, 2022
d91abd6
Bring over a bunch of tests
rvsrvs May 19, 2022
61aee6a
Fix tests
rvsrvs May 19, 2022
511f96f
Checkpoint with one failing test
rvsrvs May 21, 2022
8ea1c4e
Add non-blocking send. properly handle subscription cancellation
rvsrvs May 21, 2022
a56f4dd
Fixing subject tests
rvsrvs May 21, 2022
16b3029
Fix file header
rvsrvs May 22, 2022
3ee050f
Add Cancellable
rvsrvs May 22, 2022
d309ab8
back to passing tests (mostly) there’s a race in merge
rvsrvs May 23, 2022
86c3f54
Still have a race condition in Merge. :(
rvsrvs May 23, 2022
c0247f3
Introduce effects to StateTask
rvsrvs May 23, 2022
e620f42
Fixed failing merge tests
rvsrvs May 23, 2022
81a0247
fix remove all in MergeState
rvsrvs May 24, 2022
0b8a1c1
ALL TESTS PASSING!
rvsrvs May 25, 2022
1fb8e92
Remove yields
rvsrvs May 25, 2022
a9cbe75
Little more cleanup
rvsrvs May 25, 2022
8cee627
Cleanup cancellation handling, start Reducer
rvsrvs May 25, 2022
de13f3a
Fix poorly handled cancellation
rvsrvs May 25, 2022
544a5dd
Update readme, start move to reducer
rvsrvs May 26, 2022
b969ad1
Checkpointing
rvsrvs May 26, 2022
4678aa5
Checkpoint
rvsrvs May 26, 2022
2833442
cleanup expectations, create stateTask from channel
rvsrvs May 27, 2022
34f05c9
Create Channel in stateTask init
rvsrvs May 27, 2022
5d4fcb0
Improvements to StateTask
rvsrvs May 27, 2022
fedf22a
Reworking StateTask
rvsrvs May 27, 2022
c6ba886
Improve cancellation consistency
rvsrvs May 28, 2022
3666709
Add Delay
rvsrvs May 28, 2022
f806262
checkpointing
rvsrvs May 28, 2022
d971e32
Cleanup
rvsrvs May 28, 2022
84829d9
Minor fix
rvsrvs May 28, 2022
c063b60
Updating sink logic
rvsrvs May 28, 2022
e2d20f7
rectify cancellation handling
rvsrvs May 28, 2022
1205950
Checkpoint
rvsrvs May 28, 2022
062fb2a
Cleaning up
rvsrvs May 28, 2022
2b4ae1a
More cleanup
rvsrvs May 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
33 changes: 0 additions & 33 deletions FreeCombine.playground/Contents.swift

This file was deleted.

4 changes: 0 additions & 4 deletions FreeCombine.playground/contents.xcplayground

This file was deleted.

This file was deleted.

605 changes: 0 additions & 605 deletions FreeCombine.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 1 addition & 4 deletions FreeCombine.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 0 additions & 47 deletions FreeCombine/Callable.swift

This file was deleted.

21 changes: 0 additions & 21 deletions FreeCombine/Demand/Demand+Helpers.swift

This file was deleted.

222 changes: 0 additions & 222 deletions FreeCombine/FreeCombine.swift

This file was deleted.

Loading