Skip to content

ServerApplication callbacks #4643

@aleks-f

Description

@aleks-f

Is your feature request related to a problem? Please describe.
Need to be able to register callback for ServerApplication termination

Describe the solution you'd like
static std::function defaulting to nullptr; if set, called on the event and set back to nullptr

Additional context
Probably may make sense to add for some other events other than termination

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions