Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1017514 // watchStructureLog_future - reacts only to future lines; pcalls onLine

JavaX fragment (include)

static <A> TailFile watchStructureLog_future(File f, final VF1<A> onLine) {
  ret watchStructureLog_future(f, tailFileDefaultInterval(), onLine);
}

static <A> TailFile watchStructureLog_future(File f, int interval, final VF1<A> onLine) {
  ret watchQuotedLog_future(f, interval, voidfunc(S s) {
    callF(onLine, unstructure(s))
  });
}

static <A> TailFile watchStructureLog_future(int interval, File f, final VF1<A> onLine) {
  ret watchStructureLog_future(f, interval, onLine);
}

Author comment

Began life as a copy of #1012999

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017514
Snippet name: watchStructureLog_future - reacts only to future lines; pcalls onLine
Eternal ID of this version: #1017514/4
Text MD5: 429922cc8777ab80dc250bca6ba16ea8
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-27 18:40:12
Source code size: 495 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 416 / 456
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017569 - watchStructureLog_plusLastLine - reacts to last line & future lines
#1020220 - watchStructureLog_fromStart