Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Jan 5, 2024
1 parent 0b6d3fd commit 7c7ceed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/cs/Samples/SampleRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Created Date: 13/10/2022
* Author: Shun Suzuki
* -----
* Last Modified: 04/01/2024
* Last Modified: 05/01/2024
* Modified By: Shun Suzuki ([email protected])
* -----
* Copyright (c) 2022-2023 Shun Suzuki. All rights reserved.
Expand Down Expand Up @@ -56,7 +56,7 @@ public static async Task Run<T>(Controller<T> autd)
Console.ReadKey(true);

Console.WriteLine("finish.");
await autd.SendAsync(ConfigureSilencer.Default(), new Null());
await autd.SendAsync(new Null(), ConfigureSilencer.Default());
}

await autd.CloseAsync();
Expand Down
4 changes: 2 additions & 2 deletions example/fs/Samples/SampleRunner.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Created Date: 03/02/2023
// Author: Shun Suzuki
// -----
// Last Modified: 04/01/2024
// Last Modified: 05/01/2024
// Modified By: Shun Suzuki ([email protected])
// -----
// Copyright (c) 2023 Shun Suzuki. All rights reserved.
Expand Down Expand Up @@ -56,7 +56,7 @@ module SampleRunner =

printfn "finish."

(ConfigureSilencer.Default(), new Null()) |> autd.SendAsync |> Async.AwaitTask|> ignore;
(new Null(), ConfigureSilencer.Default()) |> autd.SendAsync |> Async.AwaitTask|> ignore;

run_example()
| _ -> ()
Expand Down

0 comments on commit 7c7ceed

Please sign in to comment.