BrettRToomey/Jobs

How to resolve an error: 'seconds' is inaccessible due to 'internal' protection level?

joe528 opened this issue · 1 comments

When I try to call

Jobs.oneoff(delay: 10.seconds) { }

it shows an error:

'seconds' is inaccessible due to 'internal' protection level

How to resolve this?

I found I could simply use

.seconds(10)