-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.fs
More file actions
33 lines (28 loc) · 767 Bytes
/
Copy pathProgram.fs
File metadata and controls
33 lines (28 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Learn more about F# at http://docs.microsoft.com/dotnet/fsharp
open System
open System.Threading
open FSharpExamples.AsyncExamples
[<EntryPoint>]
let main argv =
// runSynchronouslyExample()
// startExample()
// startAsTaskExample()
// startAsTaskExample()
// choiceExample2()
// parallelExample1()
// Thread.Sleep(4000)
// parallelExample2()
// Thread.Sleep(4000)
// sequentialExample()
// Thread.Sleep(4000)
// sleepExample1()
// Thread.Sleep(4000)
// sleepExample2()
// Thread.Sleep(4000)
// cancelDefaultTokenExample()
// defaultCancellationTokenExample()
// onCancelExample()
// startChildExample()
tryCancelledExample()
Thread.Sleep(2000)
0 // return an integer exit code