DataSinks.yqls 286 B

1234567891011
  1. (
  2. #comment
  3. (let config (DataSource 'config))
  4. (let x (Read! world config (Key '('data_sinks)) '() '()))
  5. (let world (Left! x))
  6. (let data (Right! x))
  7. (let res_sink (DataSink 'result))
  8. (let world (Write! world res_sink (Key) data '()))
  9. (let world (Commit! world res_sink))
  10. (return world)
  11. )