Skip to content

Investigate possible bug with timeout #39

@danschultz

Description

@danschultz

There might be a bug with timeout() calling the onTimeout callback even though the property delivers a value.

property.where((beOpt) => beOpt is Some).timeout(timeout, onTimeout: (_) {
  _log.finest('timed out after $timeout waiting for Some property value');
  return const None();
}).first.then((beOpt) {
 // do something
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions