Skip to content

Commit

Permalink
Slight chance to make Dispatch be an actual method
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLariviere committed Nov 30, 2018
1 parent 06febb7 commit d90b8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Fabulous.Core/ElmishProgram.fs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2018 Elmish and Fabulous contributors. See LICENSE.md for license.
// Copyright 2018 Elmish and Fabulous contributors. See LICENSE.md for license.
namespace Fabulous.Core

open System
Expand Down Expand Up @@ -123,7 +123,7 @@ type ProgramRunner<'model, 'msg>(app: Application, program: Program<'model, 'msg

member __.CurrentModel = lastModel

member __.Dispatch = dispatch
member __.Dispatch(msg) = dispatch msg

member runner.ChangeProgram(newProgram: Program<obj, obj, obj -> (obj -> unit) -> ViewElement>) : unit =
Device.BeginInvokeOnMainThread(fun () ->
Expand Down

0 comments on commit d90b8d8

Please sign in to comment.