observeCandidates

@NotNull
open fun observeCandidates(@NotNull template: ILsaMolecule): Observable<List<ILsaMolecule>>(source)

Observes the instances that [template] may match: those sharing its first argument when it is a constant or a number, every instance otherwise. Matching them against [template] is up to the caller.

Return

an observable that emits the instances that [template] may match

Parameters

template

the LSA template