Join Slack
Powered by
Implementation detail: If I write an extension fun...
# getting-started
m
martmists
11/12/2021, 1:58 AM
Implementation detail: If I write an extension function like so:
Copy code
val Extension.dispatcher by lazy { SomeDispatcher() }
Will the
dispatcher
property be different for every Extension or will there be one global dispatcher
r
Rob Elliot
11/12/2021, 7:13 AM
Write a test? If you're unsure so will be the next person to read it (even if it's you in 6 months).
Open in Slack
Previous
Next