EnvListener
Last modified by Outhman Moustaghfir on 2024/01/22 15:35
Overview
The envListener listener enables the monitoring of files transmitted through the sendToEnv function. It allows you to specify target environments and file name patterns.
Icon
Configuration
1- Configuration of EnvListener
To configure the envListener, you need to set the following fields:
- env: A semicolon-separated string specifying the target environments to listen to. If empty or ".*", the listener will monitor all child environments.
- mask: The file name pattern to filter files. For example, if set to "filename.txt," the listener will only monitor files with the exact name "filename.txt." if empty or ".*" will listen to all files.
Conclusion
The envListener listener enhances the file monitoring capabilities by allowing you to selectively listen to files based on target environments and file name patterns. This enables efficient tracking of relevant changes in distributed files within your application or system.