<s>
In	O
computing	O
,	O
a	O
sink	O
,	O
or	O
data	B-Application
sink	I-Application
generally	O
refers	O
to	O
the	O
destination	O
of	O
data	O
flow	O
.	O
</s>
<s>
In	O
software	B-General_Concept
engineering	I-General_Concept
,	O
an	O
event	B-Application
sink	I-Application
is	O
a	O
class	O
or	O
function	O
that	O
receives	O
events	O
from	O
another	O
object	O
or	O
function	O
,	O
while	O
a	O
sink	O
can	O
also	O
refer	O
to	O
a	O
node	O
of	O
a	O
directed	O
acyclic	O
graph	O
with	O
no	O
additional	O
nodes	O
leading	O
out	O
from	O
it	O
,	O
among	O
other	O
uses	O
.	O
</s>
<s>
An	O
event	B-Application
sink	I-Application
is	O
a	O
class	O
or	O
function	O
designed	O
to	O
receive	O
incoming	O
events	O
from	O
another	O
object	O
or	O
function	O
.	O
</s>
<s>
This	O
is	O
commonly	O
implemented	O
in	O
C++	B-Language
as	O
callbacks	O
.	O
</s>
<s>
Other	O
object-oriented	B-Language
languages	I-Language
,	O
such	O
as	O
Java	B-Language
and	O
C#	B-Application
,	O
have	O
built-in	O
support	O
for	O
sinks	O
by	O
allowing	O
events	O
to	O
be	O
fired	O
to	O
delegate	O
functions	O
.	O
</s>
<s>
This	O
is	O
often	O
seen	O
in	O
C++	B-Language
and	O
hardware-related	O
programming	O
,	O
thus	O
the	O
choice	O
of	O
nomenclature	O
by	O
a	O
developer	O
usually	O
depends	O
on	O
whether	O
the	O
agent	O
acting	O
on	O
a	O
sink	O
is	O
a	O
producer	O
or	O
consumer	O
of	O
the	O
sink	O
content	O
.	O
</s>
<s>
Directed	O
acyclic	O
graphs	O
are	O
used	O
in	O
instruction	O
scheduling	O
,	O
neural	B-Architecture
networks	I-Architecture
and	O
data	B-General_Concept
compression	I-General_Concept
.	O
</s>
<s>
In	O
several	O
computer	O
programs	O
employing	O
streams	O
,	O
such	O
as	O
GStreamer	B-Language
,	O
PulseAudio	B-Library
,	O
or	O
PipeWire	B-Application
,	O
a	O
source	O
is	O
the	O
starting	O
point	O
of	O
a	O
pipeline	O
which	O
produces	O
a	O
stream	O
but	O
does	O
not	O
consume	O
any	O
,	O
while	O
a	O
sink	O
is	O
the	O
end	O
point	O
which	O
accepts	O
a	O
stream	O
without	O
producing	O
any	O
.	O
</s>
<s>
An	O
example	O
is	O
an	O
audio	O
pipeline	O
in	O
the	O
PulseAudio	B-Library
sound	O
system	O
.	O
</s>
<s>
Mobile	O
sink	O
is	O
proposed	O
to	O
save	O
sensor	O
energy	O
for	O
multihop	O
communication	O
in	O
transferring	O
data	O
to	O
a	O
base	O
station	O
(	O
sink	O
)	O
in	O
wireless	B-Architecture
sensor	I-Architecture
networks	I-Architecture
.	O
</s>
