File uploads
When instance.upload_triggers
in hark.toml
is configured, Hark enables file
upload triggering.
It expects a function called on_upload
in the executable with the following
function signature:
fn on_upload(bucket, key) {
// ...
}
bucket
: stringkey
: string