Skip to content

Making callback in Handler escaping to allow async usage#3

Open
lowip wants to merge 1 commit intolovesunstar:masterfrom
lowip:async-completion
Open

Making callback in Handler escaping to allow async usage#3
lowip wants to merge 1 commit intolovesunstar:masterfrom
lowip:async-completion

Conversation

@lowip
Copy link

@lowip lowip commented Jul 13, 2017

Changes made to the project are in WKBridge/Classes/Bridge.swift, others changes are the result of using the latest version of the WKBridge pod (executing pod install) in the example project.

I made the callback in the Handler typealias @escaping to allow asynchronous usage.
My use case for this change is to perform network operations in the native layer (using Foundation) to avoid CORS issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant