Mercurial > libervia-backend
comparison libervia/backend/bridge/bridge_constructor/bridge_template.ini @ 4193:730f542e4ad0
core: add new `init_script_path` option:
`init_script_path` option can be used in `[DEFAULTS]` to run a script at the end of
backend initialisation. A new `init_pre_script` method is used to wait for backend to
reach this stage (designed to be used mostly by CLI frontend), then the usual `ready_get`
method is finished once the script is finished.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 13 Dec 2023 22:00:22 +0100 |
parents | a8a0fa678ce2 |
children |
comparison
equal
deleted
inserted
replaced
4192:1d24ff583794 | 4193:730f542e4ad0 |
---|---|
234 type=method | 234 type=method |
235 category=core | 235 category=core |
236 sig_in= | 236 sig_in= |
237 sig_out= | 237 sig_out= |
238 doc=Return when backend is initialised | 238 doc=Return when backend is initialised |
239 | |
240 [init_pre_script] | |
241 async= | |
242 type=method | |
243 category=core | |
244 sig_in= | |
245 sig_out= | |
246 doc=Return when backend is nearly initialised, just before init script is run, if any. | |
239 | 247 |
240 [version_get] | 248 [version_get] |
241 type=method | 249 type=method |
242 category=core | 250 category=core |
243 sig_in= | 251 sig_in= |