Thanks to visit codestin.com
Credit goes to github.com

Skip to content

:start-after  #31

@awb99

Description

@awb99

I have defined several services in my clip/aero system: [:config :start-logger :service-1 :service-2]
:logger depends on :config.
:service-1 and :service-2 depend also on :config.

Now I want to start :service-1 and :service-2 AFTER :logger is started. The reason is, that :start-logger
sets up the loggers in a nice way (and sets up loglevels, etc).

Now I could solve this issue, by adding a reference to :logger in :service-1 and :service-2. But this means
that I can not just call functions defined in any arbitrary namespace. Instead i have to write a wrapper that
takes one argument that will be ignored (:logger) and then use the other arguments for the real function.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions