ultralight-beam/UB.swift

Consider turning the listen callback into a delegate function

Closed this issue · 0 comments

Problem

Currently there is a transport.listen function which takes in a callback, this does not seem like it fits into the rest of the design of Ultralight Beam which often uses delegates.

Acceptance Criteria

Look at trade offs of leaving it a callback vs a delegate function and consider changing it if need be.