Basic functionality for play and playbook

This commit is contained in:
Ray Miller 2025-06-07 16:25:31 +01:00
parent 00c5c91b11
commit 49571984c2
Signed by: ray
GPG key ID: 043F786C4CD681B8
7 changed files with 131 additions and 60 deletions

View file

@ -5,4 +5,13 @@
#:vars '((foo . 1) (bar . "baz"))
#:plays (list
(play #:name "Example play"
#:host "localhost")))
#:host "localhost"
#:tasks (list
(task #:name "First task"
#:action (const #t))
(task #:name "Second task"
#:action (lambda (conn)
(trigger-handler! 'foo))))
#:handlers (list
(handler #:name 'foo
#:action (const #f))))))