Skip to content

请求jscode没有做截流 #5

Description

@supersheep

当页面同时发起多个请求时
服务端jscode2session中对于正在pending的code,不应再去请求。
具体可以维护一个map,key为code,value为pending request
得到结果后则从map中delete掉key

Activity

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