Copyright © 2021 Marc Worrell
Behaviours: supervisor.
Authors: Marc Worrell (marc@worrell.nl).
event/2 | Upload event from the UI. |
init/1 | Supervisor callback, initialize the children. |
observe_validate_query_args/3 | Replace all #fileuploader{} records with #upload{} and the uploaded file. |
start_child/3 | Start a file uploader. |
start_link/1 | Start the simple_one_for_one supervisor for the file upload processes. |
event(Z_msg_v1, Context) -> any()
Upload event from the UI.
init(X1) -> any()
Supervisor callback, initialize the children.
observe_validate_query_args(Validate_query_args, Error, Context) -> any()
Replace all #fileuploader{} records with #upload{} and the uploaded file.
start_child(Filename::binary(), Size::non_neg_integer(), Context::z:context()) -> {ok, map()} | {error, term()}
Start a file uploader.
start_link(Args) -> any()
Start the simple_one_for_one supervisor for the file upload processes.
Generated by EDoc