⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
userver
C++ Async Framework v2.0
Documentation
API Groups
Namespaces
Reference
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
y
Variables
k
n
r
u
w
Typedefs
c
d
h
m
n
o
p
s
t
u
v
Enumerations
a
b
c
d
f
h
i
l
o
p
r
s
t
u
v
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Symbols
File List
File Members
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
Toggle main menu visibility
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
All results
find.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/dynamic_config/updates_sink/find.hpp
4
/// @brief Function for retrieving dynamic config updates sink specified in the
5
/// static config.
6
7
#
include
<
type_traits
>
8
9
#
include
<
userver
/
components
/
component_fwd
.
hpp
>
10
#
include
<
userver
/
dynamic_config
/
fwd
.
hpp
>
11
12
USERVER_NAMESPACE_BEGIN
13
14
namespace
dynamic_config {
15
16
/// @brief Returns component to which incoming dynamic config updates should be
17
/// forwarded.
18
///
19
/// Component to be used as an updates sink is determined by the `updates-sink`
20
/// static config field. If this field is not set, then
21
/// components::DynamicConfig is used as a default sink.
22
///
23
/// @warning Can only be called from other component's constructor in a task
24
/// where that constructor was called. May block and asynchronously wait for the
25
/// creation of the requested component.
26
///
27
/// @note It is illegal to use the same updates sink from several components.
28
components
::
DynamicConfigUpdatesSinkBase
&
FindUpdatesSink
(
29
const
components
::ComponentConfig& config,
30
const
components
::ComponentContext& context);
31
32
}
// namespace dynamic_config
33
34
USERVER_NAMESPACE_END
Docs version:
v1.0
,
v2.0
,
trunk/develop
userver
dynamic_config
updates_sink
find.hpp
Generated on Wed May 15 2024 22:18:56 for userver by
Doxygen
1.10.0