ugol/jr

Proxy function

Closed this issue · 1 comments

ugol commented

Add a proxy function with input:

  • probability
  • another function

es:

proxy 0.75 func1 0.25 func2

Proxy function will try to maintain the given ratio for calls. This is great for example to introduce errors to do testing

ugol commented

Not possible to dynamically call functions in templates, need to be rethinked