1 2 3 4 5 6 7 8
# Any ideas why this doesnt work ? I want to avoid generics if possible: SomeEvent = concept x x is Message or Interaction WaitableEvent = object fut: Future[SomeEvent] # `'SomeEvent' is not a concrete type`
1 2 3 4 5 6 7 8
# Any ideas why this doesnt work ? I want to avoid generics if possible: SomeEvent = concept x x is Message or Interaction WaitableEvent = object fut: Future[SomeEvent] # `'SomeEvent' is not a concrete type`