diff options
Diffstat (limited to 'spec/inputs/backcall.moon')
-rw-r--r-- | spec/inputs/backcall.moon | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/inputs/backcall.moon b/spec/inputs/backcall.moon index 7702059..c52fee3 100644 --- a/spec/inputs/backcall.moon +++ b/spec/inputs/backcall.moon | |||
@@ -58,4 +58,14 @@ do | |||
58 | <- f6 | 58 | <- f6 |
59 | f7! | 59 | f7! |
60 | 60 | ||
61 | do | ||
62 | result = do | ||
63 | (data)<- loadAsync "filename.txt" | ||
64 | print data | ||
65 | print result | ||
66 | |||
67 | totalSize = (for file in *files | ||
68 | (data)<-loadAsync file | ||
69 | addToCache file,data) |> reduce 0,(a,b)-> a+b | ||
70 | |||
61 | alert "hi" | 71 | alert "hi" |