Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tap maybe #19

Closed
wants to merge 3 commits into from
Closed

Add tap maybe #19

wants to merge 3 commits into from

Commits on Nov 19, 2019

  1. Add skeleton tap fun

    olle committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    a810aa4 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. Add tap for connectors

    * Tapping a connector, or the `tap` function, is a syntactic sugar
      feature, that wraps the chaining call to `connect` on the signal
      provided by a `connector` when calling `connect`.
    
      The given `tapFn` will then be applied with the signals next and
      previous value - which conveniently is provided the other way
      around from the signal function (which is applied with id, prev,
      and then next).
    
      This is aimed at being a very useful and simple way to _tap_ into
      some signal state that is being changed. Often this technique can
      be used in conjuction with effects, or triggers, to build
      behaviour not just with connectors and events, but also by
      _listening_ to maintained signal state - such as the `db` - in
      independent modules.
    olle committed Nov 22, 2019
    Configuration menu
    Copy the full SHA
    7fff02c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. Remove unused import

    olle committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    b7bfbed View commit details
    Browse the repository at this point in the history