File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
apps/engine/lib/engine/engine Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ defmodule Engine.Build.Isolation do
33 Runs functions in an isolated, monitored process
44 """
55
6- @ spec invoke ( ( ( ) -> term ( ) ) ) :: { :ok , term ( ) } | { :error , term ( ) }
6+ @ spec invoke ( ( -> term ( ) ) ) :: { :ok , term ( ) } | { :error , term ( ) }
77 def invoke ( function ) when is_function ( function , 0 ) do
88 me = self ( )
99
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ defmodule Engine.Progress do
55 @ type message :: String . t ( )
66
77 @ type delta :: pos_integer ( )
8- @ type on_complete_callback :: ( ( ) -> any ( ) )
8+ @ type on_complete_callback :: ( -> any ( ) )
99 @ type report_progress_callback :: ( delta ( ) , message ( ) -> any ( ) )
1010
1111 defmacro __using__ ( _ ) do
@@ -14,7 +14,7 @@ defmodule Engine.Progress do
1414 end
1515 end
1616
17- @ spec with_progress ( label ( ) , ( ( ) -> any ( ) ) ) :: any ( )
17+ @ spec with_progress ( label ( ) , ( -> any ( ) ) ) :: any ( )
1818 def with_progress ( label , func ) when is_function ( func , 0 ) do
1919 on_complete = begin_progress ( label )
2020
You can’t perform that action at this time.
0 commit comments