What is the difference between build().perform() and perform()

前端 未结 3 604
夕颜
夕颜 2021-01-16 21:45

Some articles suggest that now build() is included in perform() itself, while others suggest that build().perform() is used when multi

3条回答
  •  孤街浪徒
    2021-01-16 22:24

    build() method in Actions class is use to create chain of action or operation you want to perform.

    perform() this method in Actions Class is use to execute chain of action which are build using Action build method.

    build().perform() = create chain of actions + execute

提交回复
热议问题