Listener: Listener
Isolated
Represents the directory listener endpoint, which is used to listen to a directory in the local file system.
Constructor
Creates a new Directory listener.
init (ListenerConfig listenerConfig)
- listenerConfig ListenerConfig
The
ListenerConfig
record with the directory details
LifeCycle Methods
attach | Binds a service to the |
Methods
'start | Starts the |
gracefulStop | Stops the |
immediateStop | Stops the |
detach | Stops listening to the directory and detaches the service from the |
attach
Isolated Function
Binds a service to the file:Listener
.
Parameters
- s Service
Type descriptor of the service