subscribe(to:where:completion:)

public func subscribe<T: Object>(to objects: T.Type, where: String,
                                     completion: @escaping (Results<T>?, Swift.Error?) -> Void)

If the Realm is a partially synchronized Realm, fetch and synchronize the objects of a given object type that match the given query (in string format).

The results will be returned asynchronously in the callback. Use Results.observe(_:) to be notified to changes to the set of synchronized objects.

-warning: Partial synchronization is a tech preview. Its APIs are subject to change.