Listener
-
file
:
Listener
Represents the directory listener endpoint, which is used to listen to a directory in the local file system.
Methods
Stops the file:Listener gracefully.
Stops the file:Listener forcefully.
Stops listening to the directory and detaches the service from the file:Listener.
LifeCycle Methods
Methods
Isolated Function
Stops the file:Listener gracefully.
-
Return Type
(error?) () or else error upon failure to stop the listener
Isolated Function
Stops the file:Listener forcefully.
-
Return Type
(error?) () or else error upon failure to stop the listener
Isolated Function
Stops listening to the directory and detaches the service from the file:Listener.
Parameters
- s service
-
Type descriptor of the service
-
Return Type
(error?) () or else error upon failure to detach to the service
LifeCycle Methods
Isolated Function
Starts the file:Listener.
-
Return Type
(error?) () or else error upon failure to start the listener