namespace sync.today.orleans.grains

open System
open System.Threading.Tasks
open Orleans
open sync.today.orleans.interfaces

type LogPageBreakGrain() = 
    inherit Orleans.Grain()

    interface ILogPageBreak with
        override this.Log() : Task =
            this.GetLogger().Info( "---SYNC.TODAY-----------------------------------------------------------" )
            async {
                (* 
                let grain2 = GrainFactory.GetGrain<ILogPageBreak>(int64 0)
                grain2.Log() |> ignore
                *)
                0 |> ignore    
            } |> Async.StartAsTask :> _
