From fc06ceae1de311f3aa6383fc9c37f87506005459 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 28 Sep 2018 15:42:55 +0200 Subject: ... --- src/shared/Action/Ports.elm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/shared/Action/Ports.elm') diff --git a/src/shared/Action/Ports.elm b/src/shared/Action/Ports.elm index 460defc..70d5183 100644 --- a/src/shared/Action/Ports.elm +++ b/src/shared/Action/Ports.elm @@ -1,5 +1,11 @@ port module Action.Ports exposing (..) -port read_params : () -> (Cmd msg) -port store_params : (Int, String) -> (Cmd msg) -port store_results : (String) -> (Cmd msg) +port get_params : () -> (Cmd msg) +port params_in : ((Int, String) -> msg) -> (Sub msg) +port set_params : (Int, String) -> (Cmd msg) + +port get_results : () -> (Cmd msg) +port results_in : (String -> msg) -> (Sub msg) +port set_results : (String) -> (Cmd msg) + +port set_signal : (Bool) -> (Cmd msg) -- cgit v1.2.3-70-g09d2