Skip to content

Interface: KyooConfigurationOptions

Options for Kyoo behavior which is not related to an adapter.

Properties

PropertyTypeDescription
disableCompression?booleanWhether to disable payload gzip compression, enabled by default
rejectEnqueueIfNotConnected?booleanWhether to throw an error when trying to enqueue a job while the adapter is not connected. If set to true, an error will be thrown if the adapter is not connected when trying to enqueue a job. If set to false, the function will return false for each job that is not enqueued.
warnOnUnexpectedBehavior?booleanWhether to emit a process-level warning when the normalized behavior of an operation cannot be implemented by the adapter. This is primarily used so that developers can be aware of non-standard behavior, and should be set to false in production environments. Defaults to true.