Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Apr 15, 2024
1 parent d0ee1f6 commit d66bf55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DXFeedFramework/Api/DXFeed.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ public extension DXFeed {
/// It just retrieves last received event from the local cache of this feed.
/// The events are stored in the cache only if there is some
/// attached ``DXFeedSubscription`` that is subscribed to the corresponding event type and symbol.
/// - Parameters:
/// - type: The event type ``IEventType``.
/// - symbol: The ``Symbol``.
/// - Returns: The list of ``ILastingEvent``
/// - Throws: ``GraalException``. Rethrows exception from Java.
func getLastEventIfSubscribed(type: IEventType.Type, symbol: Symbol) throws -> ILastingEvent? {
return try native.getLastEventIfSubscribed(type: type, symbol: symbol)
}
Expand Down

0 comments on commit d66bf55

Please sign in to comment.