nats4cats
0.3.1
nats4cats
API
nats4cats
Deserializer
Deserializer
DeserializeError
Message
Nats
Nats
NatsClient
Serializer
Serializer
SerializerError
syntax
nats4cats
/
nats4cats
/
Nats
Nats
nats4cats.Nats
See the
Nats
companion object
trait
Nats
[
F
[
_
]]
Attributes
Companion
object
Source
Nats.scala
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
class
NatsClient
[
F
]
Members list
Clear all
Value members
Abstract methods
def
publish
[
A
](
subject
:
String
,
value
:
A
,
headers
:
Headers
)(
using
Serializer
[
F
,
A
]):
F
[
Unit
]
Attributes
Source
Nats.scala
def
request
[
A
,
B
](
subject
:
String
,
value
:
A
,
headers
:
Headers
,
duration
:
Duration
)(
using
Serializer
[
F
,
A
],
Deserializer
[
F
,
B
]):
F
[
Message
[
B
]]
Attributes
Source
Nats.scala
def
subscribe
[
B
](
topic
:
String
)(
handler
: (
Message
[
B
])
=>
F
[
Unit
])(
using
Deserializer
[
F
,
B
]):
Resource
[
F
,
Unit
]
Attributes
Source
Nats.scala
def
subscribeQueue
[
B
](
topic
:
String
,
queue
:
String
)(
handler
: (
Message
[
B
])
=>
F
[
Unit
])(
using
Deserializer
[
F
,
B
]):
Resource
[
F
,
Unit
]
Attributes
Source
Nats.scala
In this article
Attributes
Members list
Value members
Abstract methods