How does ktor behave when I use specify multiple m...
# ktor
p
How does ktor behave when I use specify multiple modules in the ktor config? Will each module run in its isolated context or do they share the same. Example: I have 2 modules which use Resources plugin. Do i need to configure it only once?
b
They share plugins through the
Application
instance, so not isolated. It's similar to calling the functions in sequence with the
Application
receiver.
👍 1