packageeventtypeExecutableinterface{RunEvent(evAnnotatedEvent)}// ExecutableFunc implements the Executable interface as a function,// similar to how the std-lib http HandlerFunc implements a Handler.// This can be used for small in-place executables, test helpers, etc.typeExecutableFuncfunc(evAnnotatedEvent)func(fnExecutableFunc)RunEvent(evAnnotatedEvent){fn(ev)}typeExecutorinterface{Add(dExecutable,opts*ExecutorOpts)(leaveExecutorfunc())Enqueue(evAnnotatedEvent)error}