LifecycleOption modifies the behavior of the [Lifecycle] when passed to [NewLifecycle].
| 69 | // LifecycleOption modifies the behavior of the [Lifecycle] |
| 70 | // when passed to [NewLifecycle]. |
| 71 | type LifecycleOption interface { |
| 72 | apply(*Lifecycle) |
| 73 | } |
| 74 | |
| 75 | // EnforceTimeout will cause the [Lifecycle]'s Start and Stop methods |
| 76 | // to return an error as soon as context expires, |
no outgoing calls
no test coverage detected