-
Notifications
You must be signed in to change notification settings - Fork 7
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
Utility: use Fsdk #55
base: master
Are you sure you want to change the base?
Conversation
LGTM |
@webwarrior-ws can you also fix the conventions job with a similar commit to this please: 37e374a7b03cb55b4718c46e65911f09c21f876b (and move it to be the first commit). |
05bd5a1
to
c99a359
Compare
Should be good now |
Please approve via GitHub PR approval process. |
@aarani ^ otherwise I get "Merging is blocked" in the GitHub UI. |
Can't use Fsdk because it requires FSharp.Core 6.0, but NOnion uses 4.7.2 (in CI at least). |
Upgrade FSharp.Core then? |
f9d5866
to
35d2ec5
Compare
Thinking about it more, please revert your last commit that removes NOnion.Utility.FSharpUtil.WithTimeout, but I want FSharpUtil module be gone from NOnion to prevent naming clash with Fsdk, so let's rename it to NetworkUtils.fs? (To be consistent with other files in that folder.) BTW I had a look at other files in that folder and I think ResultUtils.fs's OperationResult overlaps with FSharpUtil's Either, let's remove it and use Either. And same thing for the Unwrap function, I think FSharpUtil has Unwrap func? If not, let's move it to Fsdk. |
256db08
to
8894bda
Compare
8894bda
to
abcbe43
Compare
Changed Retry function to take 1 type parameter instead of 2 as handling 2 types of exceptions is not needed anymore because SocketException is wrapped in NOnionException.
Added fsdk package. Reuse functions from Fsdk.
Renamed FSharpUtil module to AsyncUtil.
abcbe43
to
67a8ec0
Compare
Use ExtractEmbeddedResourceFileContents function from Fsdk. Remove local copy of that function.
Was this done? |
First part - yes, FSharpUtil is now called AsyncUtil. |
Added fsdk package. Reuse functions from Fsdk.
Renamed FSharpUtil module to AsyncUtil.
Changed Retry function to take 1 type parameter instead of 2 as handling 2 types of exceptions is not needed anymore because SocketException is wrapped in NOnionException.