-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRunners.fs
More file actions
28 lines (22 loc) · 864 Bytes
/
Runners.fs
File metadata and controls
28 lines (22 loc) · 864 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
namespace FSharp.DataProcessingPipelines.Core
open System
open FSharp.DataProcessingPipelines.Core.Messages
open FSharp.DataProcessingPipelines.Core.Pipes
open FSharp.DataProcessingPipelines.Core.Filters
module Runners =
type BaseRunner (filter:IFilter) =
member this.Filter = filter
member this.Start () =
// Add some special rule to delay start, or just start the Filter.
(this.Filter.Execute ())
// member this.Configuration = new Configuration()
// member this.Logger = new LoggerConfiguration()
// .WriteTo.ColoredConsole()
// .WriteTo.RollingFile(@"C:\Log-{Date}.txt")
// .CreateLogger();
//
// /// Returns 42
// ///
// /// ## Parameters
// /// - `num` - whatever
// let hello num = 42