Skip to content

HELP: Could you tell me the details of fuctions about SseEmitter(onError, onCompletion, onTimeout) #35437

@WeiDashan

Description

@WeiDashan

Recently, I have been studying the SseEmitter-related code, but I am quite confused about the relationship between the calls to these three functions and the logic behind their interaction with the underlying Spring framework. There is also a lack of comprehensive learning materials on this topic online. I would greatly appreciate any assistance from someone with experience. From my understanding, after the execution of onError or onTimeout, the onCompletion function will always be called, but I am unclear on what spring struction controls the sequence of these executions. I would be grateful for any insights from those more experienced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions