#[app]Expand description
A macro that helps set up and run an Application.
This macro is meant to simplify the creation of arcon applications that do not require complex configuration. For more flexibility, have a look at ApplicationBulder.
§Usage
§With no arguments
#[arcon::app]
fn main() {
(0..100u64)
.to_stream(|conf| conf.set_arcon_time(ArconTime::Process))
.map(|x| x * 10)
.print()
}Expands to the following
fn main() {
use arcon::prelude::*;
let mut builder = (0..100u64)
.to_stream(|conf| conf.set_arcon_time(ArconTime::Process))
.map(|x| x * 10)
.print()
.builder();
builder
.build()
.run_and_block();
}