Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -module(caller).
- -export([start/2]).
- start(Module, Function) -> loop(Module, Function).
- loop(Module, Function) ->
- timer:sleep(1000),
- Module:Function(),
- loop(Module, Function).
Advertisement
Add Comment
Please, Sign In to add comment