+
Skip to content

Fix getAndUpdates hack #133

@armanbilge

Description

@armanbilge

extension [F[_], A](signal: Signal[F, A])
private[calico] def getAndUpdates(using Concurrent[F]): Resource[F, (A, Stream[F, A])] =
// this hack makes me sad
Resource.eval(signal.get.tupleRight(signal.discrete.drop(1)))

@2chilled reported that it is broken in #117 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载