Skip to content

naming issue, "performGroupedBlock" actually performs no block #32

Open

Description

@lastcc

You named it "performGroupedBlock" but it actually performs no block, only wraps it to be performed later.

So, I guess there is a more suitable name for it?

Activity

  1. lastcc commented on Dec 25, 2016

    @lastcc
    Author
    func performGroupedBlock<A,B>(block: (A,B) -> ()) -> (A,B) -> () {
            precondition(didSetup, "Did not call setup()")
            return { (a: A, b: B) -> () in
                self.performGroupedBlock {
                    block(a, b)
                }
            }
     }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions