Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions di/pubsub/pubsub.q
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ closesub:{[h]
.z.pc:{closesub[x]};

/ broadcast to all subscribers upon end of day, client needs to define endofday function
callendofday:{(neg getallhandles[])@\:`endofday`};
callendofday:{[d](neg getallhandles[])@\:(`endofday;d)};

/ broadcast to all subscribers upon end of period, client needs to define endofperiod function
callendofperiod:{(neg getallhandles[])@\:`endofperiod`};
callendofperiod:{(neg getallhandles[])@\:(`endofperiod;x)};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the previous function we defined the variable, whereas, for this one we used the implicit. Would it be better to use the same format for both?


Comment thread
jprgrant marked this conversation as resolved.
/ get table schema
extractschema:{[table]0#value table};
Expand Down