Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

blocking pgsqlGetNotify #53

@Gemorroj

Description

@Gemorroj

Hi.
PDO have pgsqlGetNotify function with second parameter like sleep.
How to correct use that function?
I wrote some example code (sse server using listen/notify postgres functionality).
See at the line https://github.com/Gemorroj/swoole-sse/blob/main/server.php#L40, is it correct? or i need wrap it to corutine or smething else?

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